mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore]: Bump github.com/gin-contrib/cors from 1.5.0 to 1.7.0 (#2745)
This commit is contained in:
9
vendor/github.com/leodido/go-urn/options.go
generated
vendored
Normal file
9
vendor/github.com/leodido/go-urn/options.go
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
package urn
|
||||
|
||||
type Option func(Machine)
|
||||
|
||||
func WithParsingMode(mode ParsingMode) Option {
|
||||
return func(m Machine) {
|
||||
m.WithParsingMode(mode)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user