logger.go 118 B

1234567891011
  1. package try_api
  2. import (
  3. "go.uber.org/zap"
  4. )
  5. var l *zap.Logger
  6. func SetLogger(logger *zap.Logger) {
  7. l = logger
  8. }