chore: correct typos and align struct field tags (#12)

Fixes typos in package documentation and variable names. Aligns 
struct field tags in examples and tests for better readability.
This commit is contained in:
2025-06-11 03:15:29 +01:00
committed by GitHub
parent 64d24259e3
commit 1b8fb22499
10 changed files with 53 additions and 53 deletions

View File

@@ -73,8 +73,8 @@ The above assumes the following `Version` struct:
```go
type Version struct {
Version string `json:"version" yaml:"version" xml:",chardata"`
Latest bool `json:"latest" yaml:"latest" xml:"latest,attr"`
Stable bool `json:"stable" yaml:"stable" xml:"stable,attr"`
Latest bool `json:"latest" yaml:"latest" xml:"latest,attr"`
Stable bool `json:"stable" yaml:"stable" xml:"stable,attr"`
}
func (v *Version) String() string {