1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-27 22:05:56 +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

@@ -119,7 +119,7 @@ type Party interface {
// Macros returns the macro collection that is responsible
// to register custom macros with their own parameter types and their macro functions for all routes.
//
// Learn more at: https://github.com/kataras/iris/tree/master/_examples/routing/dynamic-path
// Learn more at: https://github.com/kataras/iris/tree/main/_examples/routing/dynamic-path
Macros() *macro.Macros
// Properties returns the original Party's properties map,
@@ -285,7 +285,7 @@ type Party interface {
//
// Returns this Party.
//
// Example: https://github.com/kataras/iris/tree/master/_examples/mvc/middleware/without-ctx-next
// Example: https://github.com/kataras/iris/tree/main/_examples/mvc/middleware/without-ctx-next
SetExecutionRules(executionRules ExecutionRules) Party
// SetRegisterRule sets a `RouteRegisterRule` for this Party and its children.
// Available values are:
@@ -335,7 +335,7 @@ type Party interface {
// HandleDir("/public", iris.Dir("./assets"), DirOptions{...})
//
// Examples:
// https://github.com/kataras/iris/tree/master/_examples/file-server
// https://github.com/kataras/iris/tree/main/_examples/file-server
HandleDir(requestPath string, fileSystem interface{}, opts ...DirOptions) []*Route
// None registers an "offline" route
@@ -458,6 +458,6 @@ type Party interface {
// }
// })
//
// Examples: https://github.com/kataras/iris/tree/master/_examples/view
// Examples: https://github.com/kataras/iris/tree/main/_examples/view
Layout(tmplLayoutFile string) Party
}