I have a Go project where I'm using Zap structured logging to log the contents of structs. That's how I initialise the logger: zapLog, err := zap.NewProductionC
InitExecLog('test-log.log') // exec testing ... // After completed, how can I release the lock on file 'test-log.log'? func InitExecLog(logPath string) { co