How can I assign the string value returned by flag into my struct? I have the following code.
destDbCfg = &dbhelper.DbConfig {}
destDbCfg.Database = flag.String( "destDBName", "", "Destination DB Database Name")
flag.Parse()
Database is a string