]> source.dussan.org Git - gitea.git/commit
migrate some more "OptionalBool" to "Option[bool]" (#29479)
author6543 <6543@obermui.de>
Thu, 29 Feb 2024 18:52:49 +0000 (19:52 +0100)
committerGitHub <noreply@github.com>
Thu, 29 Feb 2024 18:52:49 +0000 (18:52 +0000)
commitf6656181e4a07d6c415927220efa2077d509f7c6
tree27d195c32a09091ea73dcd22b71f6dd5512162fc
parentc7dcb58b1d96970959a5c8ac8d3955e4b7d027df
migrate some more "OptionalBool" to "Option[bool]" (#29479)

just some refactoring bits towards replacing **util.OptionalBool** with
**optional.Option[bool]**

---------

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
23 files changed:
models/repo/repo_list.go
models/repo/repo_list_test.go
models/user/email_address.go
models/user/email_address_test.go
models/user/search.go
models/user/user_test.go
modules/indexer/issues/indexer.go
modules/optional/option_test.go
modules/util/util.go
modules/util/util_test.go
routers/api/v1/repo/issue.go
routers/api/v1/repo/repo.go
routers/web/admin/emails.go
routers/web/admin/users.go
routers/web/explore/user.go
routers/web/home.go
routers/web/repo/issue.go
routers/web/repo/repo.go
routers/web/shared/user/header.go
routers/web/user/home.go
routers/web/user/notification.go
routers/web/user/profile.go
routers/web/user/search.go