Categorygithub.com/immanuel-supanova/go-auth
repositorypackage
0.0.5
Repository: https://github.com/immanuel-supanova/go-auth.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

go-auth

// .env

GOAUTHDB="host=host user=user password=pass dbname=dbname port=port sslmode=disable"
DEBUG=<Either true or false>
// main.go

func init() {
	goauth.Config()
	goauth.ConnectToDb()
	goauth.SyncDatabase()
}

...
func main() {
	goauth.UserServer.ListenAndServe()
}