1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 18:37:05 +00:00

rename master branch to main

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-08-20 03:12:46 +03:00
parent 2e9745a915
commit 48f7b38d15
62 changed files with 216 additions and 211 deletions

View File

@@ -33,7 +33,7 @@ type (
// - SignoutHandler
// - SignoutAllHandler
//
// Example can be found at: https://github.com/kataras/iris/tree/master/_examples/auth/auth/main.go.
// Example can be found at: https://github.com/kataras/iris/tree/main/_examples/auth/auth/main.go.
Auth[T User] struct {
// Holds the configuration passed through the New and MustLoad
// package-level functions. One or more Auth instance can share the
@@ -116,7 +116,7 @@ func Must[T User](s *Auth[T], err error) *Auth[T] {
// MustGenerateConfiguration or MustLoadConfiguration
// or LoadConfiguration or MustLoad package-level functions.
//
// Example can be found at: https://github.com/kataras/iris/tree/master/_examples/auth/auth/main.go.
// Example can be found at: https://github.com/kataras/iris/tree/main/_examples/auth/auth/main.go.
func New[T User](config Configuration) (*Auth[T], error) {
keys, err := config.validate()
if err != nil {