github.com/wfusion/gofusion@v1.1.14/db/flag.go (about)

     1  package db
     2  
     3  import "github.com/spf13/pflag"
     4  
     5  var flagString string
     6  
     7  func init() {
     8  	pflag.StringVarP(&flagString, "db-config", "", "", "json string for database config")
     9  }