mirror of
https://github.com/shopspring/decimal.git
synced 2024-11-24 21:30:49 +01:00
Compare commits
No commits in common. "af136c8569ce67cb15dc2d47aa4c9708207706b1" and "161f04f87dddc8fe55e408f603b33065d638f733" have entirely different histories.
af136c8569
...
161f04f87d
1 changed files with 2 additions and 2 deletions
|
@ -1799,8 +1799,8 @@ func (d Decimal) MarshalJSON() ([]byte, error) {
|
|||
return []byte(str), nil
|
||||
}
|
||||
|
||||
// MarshalYAML implements the [yaml.Marshaler] interface.
|
||||
func (d Decimal) MarshalYAML() (any, error) {
|
||||
// MarshalYAML implements the yaml.Marshaler interface.
|
||||
func (d Decimal) MarshalYAML() (interface{}, error) {
|
||||
if MarshalYAMLWithoutQuotes {
|
||||
n := yaml.Node{
|
||||
Kind: yaml.ScalarNode,
|
||||
|
|
Loading…
Reference in a new issue