3
0
Files
corteza/pkg/options/actionlog.go
2020-08-24 15:38:42 +02:00

20 lines
249 B
Go

package options
type (
ActionLogOpt struct {
Enabled bool `env:"ACTIONLOG_ENABLED"`
Debug bool `env:"ACTIONLOG_DEBUG"`
}
)
func ActionLog() (o *ActionLogOpt) {
o = &ActionLogOpt{
Enabled: true,
Debug: false,
}
fill(o)
return
}