Categorygithub.com/blacksmith-vish/sso
modulepackage
0.0.0-20250201194253-1f01f6c979db
Repository: https://github.com/blacksmith-vish/sso.git
Documentation: pkg.go.dev

# README

SSO service repo

Docs

Environment

Create .env file in root dir of the project or assign in your OS env. Lookup example.

Tools

go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@latest
  • Swagger:
go install github.com/swaggo/swag/cmd/swag@latest

Tabnine

  1. generate swagger comment for the register function including tags from github.com/swaggo/swag library.

Services

Authentication

Benchmarking

# benchmark running into file
go test -bench . -benchmem ./internal/lib/collections -cpuprofile=profile.out
# benchmark pdf version
go tool pprof --pdf profile.out > pprof.pdf 

go test -bench . -benchmem ./internal/lib/collections -cpuprofile=./profiles/cpu.out -memprofile=./profiles/mem.out

# Packages

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

# Variables

go:embed migrations.
go:embed static.