MCPcopy Create free account
hub / github.com/Shelnutt2/db2struct / init

Function init

cmd/db2struct/main.go:30–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28var targetFile = goopt.String([]string{"--target"}, "", "Save file path")
29
30func init() {
31 goopt.OptArg([]string{"-p", "--password"}, "", "Mysql password", getMariadbPassword)
32 //goopt.ReqArg([]string{"-u", "--user"}, "user", "user to connect to database", setUser)
33
34 // Setup goopts
35 goopt.Description = func() string {
36 return "Mariadb http Check"
37 }
38 goopt.Version = "0.0.2"
39 goopt.Summary = "db2struct [-H] [-p] [-v] --package pkgName --struct structName --database databaseName --table tableName"
40
41 //Parse options
42 goopt.Parse(nil)
43
44}
45
46func main() {
47

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected