From 57f4f70134397b4eeb168f7c6884be630e3cad04 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 10 Jan 2025 14:43:10 +0000 Subject: [PATCH] fix(deps): update module github.com/gofiber/template/html/v2 to v2.1.3 --- src/go.mod | 4 +- src/go.sum | 4 + .../github.com/gofiber/template/.golangci.yml | 162 ++++++------------ .../github.com/gofiber/template/README.md | 75 ++++---- .../gofiber/template/html/v2/README.md | 2 +- .../template/html/v2/TEMPLATES_CHEATSHEET.md | 16 +- .../gofiber/template/html/v2/html.go | 52 +++--- .../github.com/gofiber/template/template.go | 37 +++- .../fasthttp/{coarseTime.go => coarsetime.go} | 0 src/vendor/modules.txt | 4 +- 10 files changed, 167 insertions(+), 189 deletions(-) rename src/vendor/github.com/valyala/fasthttp/{coarseTime.go => coarsetime.go} (100%) diff --git a/src/go.mod b/src/go.mod index 06c31458..270a0a51 100644 --- a/src/go.mod +++ b/src/go.mod @@ -6,7 +6,7 @@ require ( github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef github.com/dechristopher/octad v1.0.10 github.com/gofiber/fiber/v2 v2.52.0 - github.com/gofiber/template/html/v2 v2.1.0 + github.com/gofiber/template/html/v2 v2.1.3 github.com/gofiber/websocket/v2 v2.2.1 github.com/google/uuid v1.6.0 github.com/joho/godotenv v1.5.1 @@ -21,7 +21,7 @@ require ( github.com/andybalholm/brotli v1.1.0 // indirect github.com/dustin/go-humanize v1.0.1 // indirect github.com/fasthttp/websocket v1.5.7 // indirect - github.com/gofiber/template v1.8.2 // indirect + github.com/gofiber/template v1.8.3 // indirect github.com/gofiber/utils v1.1.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/klauspost/compress v1.17.6 // indirect diff --git a/src/go.sum b/src/go.sum index e2de5064..68ec6fdd 100644 --- a/src/go.sum +++ b/src/go.sum @@ -15,8 +15,12 @@ github.com/gofiber/fiber/v2 v2.52.0 h1:S+qXi7y+/Pgvqq4DrSmREGiFwtB7Bu6+QFLuIHYw/ github.com/gofiber/fiber/v2 v2.52.0/go.mod h1:KEOE+cXMhXG0zHc9d8+E38hoX+ZN7bhOtgeF2oT6jrQ= github.com/gofiber/template v1.8.2 h1:PIv9s/7Uq6m+Fm2MDNd20pAFFKt5wWs7ZBd8iV9pWwk= github.com/gofiber/template v1.8.2/go.mod h1:bs/2n0pSNPOkRa5VJ8zTIvedcI/lEYxzV3+YPXdBvq8= +github.com/gofiber/template v1.8.3 h1:hzHdvMwMo/T2kouz2pPCA0zGiLCeMnoGsQZBTSYgZxc= +github.com/gofiber/template v1.8.3/go.mod h1:bs/2n0pSNPOkRa5VJ8zTIvedcI/lEYxzV3+YPXdBvq8= github.com/gofiber/template/html/v2 v2.1.0 h1:FjwzqhhdJpnhyCvav60Z1ytnBqOUr5sGO/aTeob9/ng= github.com/gofiber/template/html/v2 v2.1.0/go.mod h1:txXsRQN/G7Fr2cqGfr6zhVHgreCfpsBS+9+DJyrddJc= +github.com/gofiber/template/html/v2 v2.1.3 h1:n1LYBtmr9C0V/k/3qBblXyMxV5B0o/gpb6dFLp8ea+o= +github.com/gofiber/template/html/v2 v2.1.3/go.mod h1:U5Fxgc5KpyujU9OqKzy6Kn6Qup6Tm7zdsISR+VpnHRE= github.com/gofiber/utils v1.1.0 h1:vdEBpn7AzIUJRhe+CiTOJdUcTg4Q9RK+pEa0KPbLdrM= github.com/gofiber/utils v1.1.0/go.mod h1:poZpsnhBykfnY1Mc0KeEa6mSHrS3dV0+oBWyeQmb2e0= github.com/gofiber/websocket/v2 v2.2.1 h1:C9cjxvloojayOp9AovmpQrk8VqvVnT8Oao3+IUygH7w= diff --git a/src/vendor/github.com/gofiber/template/.golangci.yml b/src/vendor/github.com/gofiber/template/.golangci.yml index 19e18a55..a5b91d75 100644 --- a/src/vendor/github.com/gofiber/template/.golangci.yml +++ b/src/vendor/github.com/gofiber/template/.golangci.yml @@ -1,8 +1,7 @@ -# Created based on v1.52.2 -# NOTE: Keep this in sync with the version in .github/workflows/lint_golangci-lint.yml +# Created based on v1.56.1 +# NOTE: Keep this in sync with the version in .github/workflows/linter.yml run: - timeout: 5m modules-download-mode: readonly skip-dirs-use-default: false skip-dirs: @@ -12,75 +11,61 @@ output: sort-results: true linters-settings: - depguard: - include-go-root: true - packages: - - flag - - io/ioutil - - reflect - - unsafe - packages-with-error-message: - - flag: '`flag` package is only allowed in main.go' - - io/ioutil: '`io/ioutil` package is deprecated, use the `io` and `os` package instead' - - reflect: '`reflect` package is dangerous to use' - - unsafe: '`unsafe` package is dangerous to use' - errcheck: - check-type-assertions: true - check-blank: true - disable-default-exclusions: true + check-type-assertions: true + check-blank: true + disable-default-exclusions: true + exclude-functions: + - '(*bytes.Buffer).Write' # always returns nil error + - '(*github.com/valyala/bytebufferpool.ByteBuffer).Write' # always returns nil error + - '(*github.com/valyala/bytebufferpool.ByteBuffer).WriteByte' # always returns nil error + - '(*github.com/valyala/bytebufferpool.ByteBuffer).WriteString' # always returns nil error errchkjson: report-no-exported: true exhaustive: - check-generated: true default-signifies-exhaustive: true forbidigo: forbid: - ^(fmt\.Print(|f|ln)|print|println)$ - # - 'http\.Default(Client|Transport)' + - 'http\.Default(Client|Transport)' + # TODO: Eventually enable these patterns # - 'time\.Sleep' # - 'panic' - gci: - sections: - - standard - - prefix(github.com/gofiber/fiber) - - default - - blank - - dot - custom-order: true - - goconst: - numbers: true - gocritic: - enabled-tags: - - diagnostic - - style - - performance - - experimental - - opinionated disabled-checks: - - hugeParam - - rangeValCopy + - ifElseChain gofumpt: module-path: github.com/gofiber/template extra-rules: true gosec: + excludes: + - G104 # Provided by errcheck config: global: audit: true + + depguard: + rules: + main: + deny: + - pkg: flag + desc: '`flag` package is only allowed in main.go' + - pkg: io/ioutil + desc: '`io/ioutil` package is deprecated, use the `io` and `os` package instead' govet: + check-shadowing: true enable-all: true disable: - - fieldalignment - shadow + - fieldalignment + - loopclosure grouper: import-require-single-import: true @@ -102,10 +87,6 @@ linters-settings: promlinter: strict: true - reassign: - patterns: - - '.*' - revive: enable-all-rules: true rules: @@ -120,31 +101,37 @@ linters-settings: - name: cognitive-complexity disabled: true - name: comment-spacings - arguments: - - nolint - - msgp + disabled: true # TODO https://github.com/gofiber/fiber/issues/2816 - name: cyclomatic disabled: true + - name: early-return + severity: warning + disabled: true - name: exported disabled: true - name: file-header disabled: true - name: function-result-limit - arguments: [3] + disabled: true - name: function-length disabled: true - name: line-length-limit disabled: true - - name: nested-structs - disabled: true - name: max-public-structs disabled: true - name: modifies-parameter disabled: true + - name: nested-structs + disabled: true - name: package-comments disabled: true - - name: use-any - disabled: true # some tests still use go 1.17 + - name: unchecked-type-assertion + disabled: true # TODO https://github.com/gofiber/fiber/issues/2816 + # Provided by errcheck + - name: unhandled-error + disabled: true + - name: use-any # TODO Enable for v3 release + disabled: true stylecheck: checks: @@ -171,13 +158,11 @@ linters-settings: - github.com/valyala/fasthttp issues: - exclude-use-default: false - exclude-rules: - - linters: - - goerr113 - text: 'do not define dynamic errors, use wrapped static errors instead*' + exclude-use-default: false linters: + disable: + - spancheck enable: - asasalint - asciicheck @@ -185,13 +170,8 @@ linters: - bodyclose - containedctx - contextcheck - # - cyclop - - deadcode - # - decorder - depguard - dogsled - # - dupl - - dupword - durationcheck - errcheck - errchkjson @@ -199,76 +179,46 @@ linters: - errorlint - execinquery - exhaustive - # - exhaustivestruct - # - exhaustruct - exportloopref - forbidigo - forcetypeassert - # - funlen - - gci - - ginkgolinter - - gocheckcompilerdirectives - - gochecknoglobals # Enabled - - gochecknoinits # Enabled - # - gocognit + - gochecksumtype - goconst - gocritic - # - gocyclo - # - godot - # - godox - - goerr113 - gofmt - gofumpt - # - goheader - # - goimports - # - golint - - gomnd # Enabled + - goimports - gomoddirectives - # - gomodguard - goprintffuncname - gosec - gosimple + - gosmopolitan - govet - grouper - # - ifshort - # - importas - - ineffassign - # - interfacebloat - # - interfacer - # - ireturn - # - lll + - inamedparam - loggercheck - # - maintidx - # - makezero - # - maligned + - mirror - misspell - - musttag - nakedret - # - nestif - nilerr - nilnil - # - nlreturn - noctx - nolintlint - nonamedreturns - - nosnakecase - nosprintfhostport - - paralleltest - # - prealloc + - perfsprint - predeclared - promlinter - reassign - revive - rowserrcheck - - scopelint - sqlclosecheck - staticcheck - - structcheck - stylecheck + - tagalign - tagliatelle - - tenv - - testableexamples - # - testpackage + - testifylint + - testpackage - thelper - tparallel - typecheck @@ -276,9 +226,7 @@ linters: - unparam - unused - usestdlibvars - - varcheck - # - varnamelen - wastedassign - whitespace - # - wrapcheck # disabled - # - wsl \ No newline at end of file + - wrapcheck + - tenv diff --git a/src/vendor/github.com/gofiber/template/README.md b/src/vendor/github.com/gofiber/template/README.md index e24fdad6..f7bbaffc 100644 --- a/src/vendor/github.com/gofiber/template/README.md +++ b/src/vendor/github.com/gofiber/template/README.md @@ -1,45 +1,38 @@ +--- +title: šŸ‘‹ Welcome +description: 🧬 Template engine middlewares for Fiber. +sidebar_position: 1 +--- + +

- - - - Fiber - - -
+ Fiber + Fiber +
- - + + - + - +

This package provides universal methods to use multiple template engines with the [Fiber web framework](https://github.com/gofiber/fiber) using the new [Views](https://godoc.org/github.com/gofiber/fiber#Views) interface that is available from `> v1.11.1`. Special thanks to @bdtomlin & @arsmn for helping! 9 template engines are supported: -- [html](https://github.com/gofiber/template/tree/master/html) - - -- [ace](https://github.com/gofiber/template/tree/master/ace) - -- [amber](https://github.com/gofiber/template/tree/master/amber) - -- [django](https://github.com/gofiber/template/tree/master/django) - -- [handlebars](https://github.com/gofiber/template/tree/master/handlebars) - -- [jet](https://github.com/gofiber/template/tree/master/jet) - -- [mustache](https://github.com/gofiber/template/tree/master/mustache) - -- [pug](https://github.com/gofiber/template/tree/master/pug) - -- [slim](https://github.com/gofiber/template/tree/master/slim) - +- [ace](./ace/README.md) +- [amber](./amber/README.md) +- [django](./django/README.md) +- [handlebars](./handlebars/README.md) +- [html](./html/README.md) +- [jet](./jet/README.md) +- [mustache](./mustache/README.md) +- [pug](./pug/README.md) +- [slim](./slim/README.md) ### Installation > Go version `1.17` or higher is required. @@ -121,15 +114,15 @@ func main() { ### More Examples To view more specific examples, you could visit each engine folder to learn more -- [html](https://github.com/gofiber/template/tree/master/html) -- [ace](https://github.com/gofiber/template/tree/master/ace) -- [amber](https://github.com/gofiber/template/tree/master/amber) -- [django](https://github.com/gofiber/template/tree/master/django) -- [handlebars](https://github.com/gofiber/template/tree/master/handlebars) -- [jet](https://github.com/gofiber/template/tree/master/jet) -- [mustache](https://github.com/gofiber/template/tree/master/mustache) -- [pug](https://github.com/gofiber/template/tree/master/pug) -- [slim](https://github.com/gofiber/template/tree/master/slim) +- [ace](./ace/README.md) +- [amber](./amber/README.md) +- [django](./django/README.md) +- [handlebars](./handlebars/README.md) +- [html](./html/README.md) +- [jet](./jet/README.md) +- [mustache](./mustache/README.md) +- [pug](./pug/README.md) +- [slim](./slim/README.md) ### embedded Systems @@ -242,9 +235,9 @@ func main() { ### Benchmarks #### Simple -![](.github/data/Simple-TimeperOperation.png) +![](https://raw.githubusercontent.com/gofiber/template/master/.github/data/Simple-TimeperOperation.png) #### Extended -![](.github/data/Extended-TimeperOperation.png) +![](https://raw.githubusercontent.com/gofiber/template/master/.github/data/Extended-TimeperOperation.png) Benchmarks were ran on Apple Macbook M1. Each engine was benchmarked 20 times and the results averaged into a single xlsx file. Mustache was excluded from the extended benchmark diff --git a/src/vendor/github.com/gofiber/template/html/v2/README.md b/src/vendor/github.com/gofiber/template/html/v2/README.md index 88f159b2..4dfef2c4 100644 --- a/src/vendor/github.com/gofiber/template/html/v2/README.md +++ b/src/vendor/github.com/gofiber/template/html/v2/README.md @@ -72,7 +72,7 @@ func main() { // Or from an embedded system // See github.com/gofiber/embed for examples - // engine := html.NewFileSystem(http.Dir("./views", ".html")) + // engine := html.NewFileSystem(http.Dir("./views"), ".html") // Pass the engine to the Views app := fiber.New(fiber.Config{ diff --git a/src/vendor/github.com/gofiber/template/html/v2/TEMPLATES_CHEATSHEET.md b/src/vendor/github.com/gofiber/template/html/v2/TEMPLATES_CHEATSHEET.md index f5ec54c7..e83f761c 100644 --- a/src/vendor/github.com/gofiber/template/html/v2/TEMPLATES_CHEATSHEET.md +++ b/src/vendor/github.com/gofiber/template/html/v2/TEMPLATES_CHEATSHEET.md @@ -85,7 +85,7 @@ Go templates can also be used with javascript. Structs and maps will be expanded ```js // Javascript - var cat = {"Name":"Sam", "Age" 12} + var cat = {"Name":"Sam", "Age":12} ``` --- @@ -296,12 +296,12 @@ The not function returns the boolean negation of the argument. The `html/template` package provides a variety of functions to do comparisons between operators. The operators may only be basic types or named basic types such as `type Temp float32` Remember that template functions take the form `{{ function arg1 arg2 }}`. -- `eq` Returns the result of arg1 == arg2 -- `ne` Returns the result of arg1 != arg2 -- `lt` Returns the result of arg1 < arg2 -- `le` Returns the result of arg1 <= arg2 -- `gt` Returns the result of arg1 > arg2 -- `ge` Returns the result of arg1 >= arg2 +- `eq` Returns the result of `arg1 == arg2` +- `ne` Returns the result of `arg1 != arg2` +- `lt` Returns the result of `arg1 < arg2` +- `le` Returns the result of `arg1 <= arg2` +- `gt` Returns the result of `arg1 > arg2` +- `ge` Returns the result of `arg1 >= arg2` Of special note `eq` can be used with two or more arguments by comparing all arguments to the first. `{{ eq arg1 arg2 arg3 arg4}}` will result in the following logical expression: @@ -358,7 +358,7 @@ We use the same range to loop through Items as before but we pass the name to th Glob patterns specify sets of filenames with wildcard characters. The `template.ParseGlob(pattern string)` function will parse all templates that match the string pattern. `template.ParseFiles(files...)` can also be used with a list of file names. -The templates are named by default based on the base names of the argument files. This mean `views/layouts/hello.gohtml` will have the name `hello.gohtml` . If the template has a ``{{define ā€œtemplateNameā€}}` within it then that name will be usable. +The templates are named by default based on the base names of the argument files. This mean `views/layouts/hello.gohtml` will have the name `hello.gohtml` . If the template has a `{{define ā€œtemplateNameā€}}` within it then that name will be usable. A specific template can be executed using `t.ExecuteTemplate(w, "templateName", nil)` . `t` is an object of type Template, `w` is type io.Writer such as an `http.ResponseWriter`, Then there is the name of the template to execute, and finally passing any data to the template, in this case a nil value. diff --git a/src/vendor/github.com/gofiber/template/html/v2/html.go b/src/vendor/github.com/gofiber/template/html/v2/html.go index 66ba14a4..4c1c4c27 100644 --- a/src/vendor/github.com/gofiber/template/html/v2/html.go +++ b/src/vendor/github.com/gofiber/template/html/v2/html.go @@ -21,37 +21,31 @@ type Engine struct { Templates *template.Template } -// New returns an HTML render engine for Fiber +// New returns a HTML render engine for Fiber func New(directory, extension string) *Engine { - engine := &Engine{ - Engine: core.Engine{ - Left: "{{", - Right: "}}", - Directory: directory, - Extension: extension, - LayoutName: "embed", - Funcmap: make(map[string]interface{}), - }, - } - engine.AddFunc(engine.LayoutName, func() error { - return fmt.Errorf("layoutName called unexpectedly") - }) - return engine + return newEngine(directory, extension, nil) } -// NewFileSystem returns an HTML render engine for Fiber with file system +// NewFileSystem returns a HTML render engine for Fiber with file system func NewFileSystem(fs http.FileSystem, extension string) *Engine { + return newEngine("/", extension, fs) +} + +// newEngine creates a new Engine instance with common initialization logic. +func newEngine(directory, extension string, fs http.FileSystem) *Engine { engine := &Engine{ Engine: core.Engine{ Left: "{{", Right: "}}", - Directory: "/", + Directory: directory, FileSystem: fs, Extension: extension, LayoutName: "embed", Funcmap: make(map[string]interface{}), }, } + // Add a default function that throws an error if called unexpectedly. + // This can be useful for debugging or ensuring certain functions are used correctly. engine.AddFunc(engine.LayoutName, func() error { return fmt.Errorf("layoutName called unexpectedly") }) @@ -63,6 +57,7 @@ func (e *Engine) Load() error { if e.Loaded { return nil } + // race safe e.Mutex.Lock() defer e.Mutex.Unlock() @@ -77,20 +72,24 @@ func (e *Engine) Load() error { if err != nil { return err } + // Skip file if it's a directory or has no file info if info == nil || info.IsDir() { return nil } + // Skip file if it does not equal the given template Extension if len(e.Extension) >= len(path) || path[len(path)-len(e.Extension):] != e.Extension { return nil } + // Get the relative file path // ./views/html/index.tmpl -> index.tmpl rel, err := filepath.Rel(e.Directory, path) if err != nil { return err } + // Reverse slashes '\' -> '/' and // partials\footer.tmpl -> partials/footer.tmpl name := filepath.ToSlash(rel) @@ -103,20 +102,24 @@ func (e *Engine) Load() error { if err != nil { return err } + // Create new template associated with the current one // This enable use to invoke other templates {{ template .. }} _, err = e.Templates.New(name).Parse(string(buf)) if err != nil { return err } + // Debugging if e.Verbose { log.Printf("views: parsed template: %s\n", name) } return err } - // notify engine that we parsed all templates + + // notify Engine that we parsed all templates e.Loaded = true + if e.FileSystem != nil { return utils.Walk(e.FileSystem, e.Directory, walkFn) } @@ -125,23 +128,28 @@ func (e *Engine) Load() error { // Render will execute the template name along with the given values. func (e *Engine) Render(out io.Writer, name string, binding interface{}, layout ...string) error { - if !e.Loaded || e.ShouldReload { - if e.ShouldReload { - e.Loaded = false - } + // Check if templates need to be loaded/reloaded + if e.PreRenderCheck() { if err := e.Load(); err != nil { return err } } + + // Acquire read lock for accessing the template + e.Mutex.RLock() tmpl := e.Templates.Lookup(name) + e.Mutex.RUnlock() + if tmpl == nil { return fmt.Errorf("render: template %s does not exist", name) } + render := renderFuncCreate(e, out, binding, *tmpl, nil) if len(layout) > 0 && layout[0] != "" { e.Mutex.Lock() defer e.Mutex.Unlock() } + // construct a nested render function to embed templates in layouts for _, layName := range layout { if layName == "" { diff --git a/src/vendor/github.com/gofiber/template/template.go b/src/vendor/github.com/gofiber/template/template.go index b9865aab..ab443f67 100644 --- a/src/vendor/github.com/gofiber/template/template.go +++ b/src/vendor/github.com/gofiber/template/template.go @@ -22,6 +22,7 @@ type IEngineCore interface { FuncMap() map[string]interface{} Layout(key string) IEngineCore Reload(enabled bool) IEngineCore + PreRenderCheck() bool } // Engine engine struct @@ -52,7 +53,7 @@ type Engine struct { // AddFunc adds the function to the template's function map. // It is legal to overwrite elements of the default actions -func (e *Engine) AddFunc(name string, fn interface{}) *Engine { +func (e *Engine) AddFunc(name string, fn interface{}) IEngineCore { e.Mutex.Lock() e.Funcmap[name] = fn e.Mutex.Unlock() @@ -61,7 +62,7 @@ func (e *Engine) AddFunc(name string, fn interface{}) *Engine { // AddFuncMap adds the functions from a map to the template's function map. // It is legal to overwrite elements of the default actions -func (e *Engine) AddFuncMap(m map[string]interface{}) *Engine { +func (e *Engine) AddFuncMap(m map[string]interface{}) IEngineCore { e.Mutex.Lock() for name, fn := range m { e.Funcmap[name] = fn @@ -71,16 +72,20 @@ func (e *Engine) AddFuncMap(m map[string]interface{}) *Engine { } // Debug will print the parsed templates when Load is triggered. -func (e *Engine) Debug(enabled bool) *Engine { +func (e *Engine) Debug(enabled bool) IEngineCore { + e.Mutex.Lock() e.Verbose = enabled + e.Mutex.Unlock() return e } // Delims sets the action delimiters to the specified strings, to be used in // templates. An empty delimiter stands for the // corresponding default: "{{" and "}}". -func (e *Engine) Delims(left, right string) *Engine { +func (e *Engine) Delims(left, right string) IEngineCore { + e.Mutex.Lock() e.Left, e.Right = left, right + e.Mutex.Unlock() return e } @@ -90,15 +95,35 @@ func (e *Engine) FuncMap() map[string]interface{} { } // Layout defines the variable name that will incapsulate the template -func (e *Engine) Layout(key string) *Engine { +func (e *Engine) Layout(key string) IEngineCore { + e.Mutex.Lock() e.LayoutName = key + e.Mutex.Unlock() return e } // Reload if set to true the templates are reloading on each render, // use it when you're in development and you don't want to restart // the application when you edit a template file. -func (e *Engine) Reload(enabled bool) *Engine { +func (e *Engine) Reload(enabled bool) IEngineCore { + e.Mutex.Lock() e.ShouldReload = enabled + e.Mutex.Unlock() return e } + +// Check if the engine should reload the templates before rendering +// Explicit Mute Unlock vs defer offers better performance +func (e *Engine) PreRenderCheck() bool { + e.Mutex.Lock() + + if !e.Loaded || e.ShouldReload { + if e.ShouldReload { + e.Loaded = false + } + e.Mutex.Unlock() + return true + } + e.Mutex.Unlock() + return false +} diff --git a/src/vendor/github.com/valyala/fasthttp/coarseTime.go b/src/vendor/github.com/valyala/fasthttp/coarsetime.go similarity index 100% rename from src/vendor/github.com/valyala/fasthttp/coarseTime.go rename to src/vendor/github.com/valyala/fasthttp/coarsetime.go diff --git a/src/vendor/modules.txt b/src/vendor/modules.txt index 78a74712..c59d2321 100644 --- a/src/vendor/modules.txt +++ b/src/vendor/modules.txt @@ -27,10 +27,10 @@ github.com/gofiber/fiber/v2/middleware/logger github.com/gofiber/fiber/v2/middleware/recover github.com/gofiber/fiber/v2/middleware/requestid github.com/gofiber/fiber/v2/utils -# github.com/gofiber/template v1.8.2 +# github.com/gofiber/template v1.8.3 ## explicit; go 1.20 github.com/gofiber/template -# github.com/gofiber/template/html/v2 v2.1.0 +# github.com/gofiber/template/html/v2 v2.1.3 ## explicit; go 1.20 github.com/gofiber/template/html/v2 # github.com/gofiber/utils v1.1.0