mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-08 16:13:16 -06:00
add vendor directory
This commit is contained in:
parent
9cfbfcdc42
commit
d9026c7798
2666 changed files with 1090740 additions and 0 deletions
15
vendor/github.com/goccy/go-json/option.go
generated
vendored
Normal file
15
vendor/github.com/goccy/go-json/option.go
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package json
|
||||
|
||||
type EncodeOptionFunc func(EncodeOption) EncodeOption
|
||||
|
||||
func UnorderedMap() func(EncodeOption) EncodeOption {
|
||||
return func(opt EncodeOption) EncodeOption {
|
||||
return opt | EncodeOptionUnorderedMap
|
||||
}
|
||||
}
|
||||
|
||||
func Debug() func(EncodeOption) EncodeOption {
|
||||
return func(opt EncodeOption) EncodeOption {
|
||||
return opt | EncodeOptionDebug
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue