Skip to content
Myr

docs(engine): fix comments for the `With` (#3955)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Flc゛ · committed by GitHub · parent 490accf · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Flc゛ <four_leaf_clover@foxmail.com>

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:gin.go+1 added-1 removed
314 unmodified lines
315 engine.rebuild405Handlers()316 return engine317}318319// With returns a new Engine instance with the provided options.319// With returns a Engine with the configuration set in the OptionFunc.320func (engine *Engine) With(opts ...OptionFunc) *Engine {321 for _, opt := range opts {322 opt(engine)323 }
409 unmodified lines