chore: replace gopkg.in/yaml.v3 with go.yaml.in/yaml/v3

- gopkg.in/yaml.v3 is archived and unmaintained
- go.yaml.in/yaml/v3 is a compatible fork under the umbrella
  of https://yaml.org/
This commit is contained in:
Earl Warren 2025-08-19 18:10:49 +02:00
commit c284f97a00
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
26 changed files with 32 additions and 24 deletions

View file

@ -6,7 +6,7 @@ package optional
import (
"forgejo.org/modules/json"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
func (o *Option[T]) UnmarshalJSON(data []byte) error {