code: func OpenLog(file string) (*Log, error) {
  
  	f, err := os.OpenFile(file, os.O_RDWR|os.O_CREATE, 0666)
  	if err != nil {
  		return nil, err
  	}
  
  	log := Log{f, true}
  
  	return &log, nil
  }
docs: // OpenLog opens a log file. If the file doesn't exist, it is created.