apply gofumpt & goimports to all .go files

This commit is contained in:
David Sharnoff 2022-10-04 17:53:15 -07:00
parent c4b7ef9160
commit 49a313784b
45 changed files with 539 additions and 479 deletions

View file

@ -16,9 +16,7 @@ import (
"github.com/zitadel/oidc/pkg/client/profile"
)
var (
client = http.DefaultClient
)
var client = http.DefaultClient
func main() {
keyPath := os.Getenv("KEY_PATH")
@ -145,7 +143,6 @@ func main() {
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
}
})
lis := fmt.Sprintf("127.0.0.1:%s", port)
logrus.Infof("listening on http://%s/", lis)