Alternatively read and write in memory buffer

@Nirmal_Singh,

Please explain what you are trying to accomplish.

Some of our difficultly helping you may be that the questions you ask us are too deep in the problem stack. It seems that you need to do Y and then think that maybe X is a method or the first step in getting Y done, but you don’t know how to do X, so you ask us how to do X.

The following posts from you seem to be related:

Your Y might have been mentioned in https://forum.golangbridge.org/t/write-logs-to-memory/4521/3. That is that you need to write logs to mysql because heroku only supports read-only filesystems. If so, then my answer to your question would work. Since you keep asking related questions, I guess that you have a different Y.

Please tell us what Y is. Give us some code that motivates Y, but has no attempts to solve Y in it. Describe what the ideal situation after Y is solved would be like.

2 Likes