Discover Packages
github.com/patricksferraz/loyalty-card
cmd
package
Version:
v0.0.0-...-cab7180
Opens a new window with list of versions in this module.
Published: Mar 23, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Execute adds all child commands to the root command and sets flags appropriately.
This is called by main.main(). It only needs to happen once to the rootCmd.
type Config struct {
RestPort *int `env:"REST_PORT,default=8080"`
Db struct {
Debug *bool `env:"DB_DEBUG,default=false"`
Dsn *string `env:"DSN,required=true"`
}
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.