Commit Graph

2 Commits (c9e582c6b6cbc7beae66d24b05be6e1d338aa81b)

Author SHA1 Message Date
silverwind c77e8140bc
Add `interface{}` to `any` replacement to `make fmt`, exclude `*.pb.go` ()
Since https://github.com/go-gitea/gitea/pull/25686, a few `interface{}`
have sneaked into the codebase. Add this replacement to `make fmt` to
prevent this from happening again.

Ideally a linter would do this, but I haven't found any suitable.
6543 53c7d8908e
Make optional.Option[T] type serializable ()
make the generic `Option` type de-/serializable for json and yaml

---------

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>