func init() { rand.Seed(time.Now().Unix()) rethinkdbHost = flag.String("rethinkdb_host", "localhost", "RethinkDB hostname or IP") rethinkdbPort = flag.String("rethinkdb_port", "28015", "Port to connect to RethinkDB") env = flag.String("env", "dev", "Application environment - dev/staging/prod") tmpTable = flag.String("tmp_table", "tmp_"+uniuri.New(), "Table to save temporary results") flag.Parse() }
func (g *UniURI) Generate() string { return uniuri.New() }