[go] How to write log to file