-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bet365 - add omitempty functionality
- Loading branch information
sethjurgens
committed
Oct 7, 2024
1 parent
64766c6
commit 328d2d4
Showing
6 changed files
with
851 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
// Package jingo provides the ability to encode go structs to a buffer as JSON. | ||
// | ||
// The main take-aways are | ||
// It's very fast. | ||
// Very low allocs, 0 in a lot of cases. | ||
// Clear API - similar to the stdlib. It just uses struct tags. | ||
// No other library dependencies. | ||
// It doesn't require a build step, like `go generate`. | ||
// | ||
// You only need to create an instance of an encoder once per struct/slice type | ||
// you wish to marshal. | ||
/* | ||
Package jingo provides the ability to encode go structs to a buffer as JSON. | ||
The main features are | ||
It's very fast. | ||
Very low allocs, 0 in a lot of cases. | ||
Clear API - similar to the stdlib. It just uses struct tags. | ||
No other library dependencies. | ||
It doesn't require a build step, like `go generate`. | ||
You only need to create an instance of an encoder once per struct/slice type | ||
you wish to marshal. | ||
*/ | ||
package jingo |
Oops, something went wrong.