aboutsummaryrefslogtreecommitdiffstats
path: root/modules/optional/serialization.go
Commit message (Collapse)AuthorAgeFilesLines
* Add `interface{}` to `any` replacement to `make fmt`, exclude `*.pb.go` (#30461)silverwind2024-04-131-1/+1
| | | | | | | 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.
* Make optional.Option[T] type serializable (#29282)65432024-02-231-0/+46
make the generic `Option` type de-/serializable for json and yaml --------- Co-authored-by: KN4CK3R <admin@oldschoolhack.me>