]> source.dussan.org Git - gitea.git/commit
Let ctx.FormOptionalBool() return optional.Option[bool] (#29461)
author6543 <6543@obermui.de>
Wed, 28 Feb 2024 05:39:12 +0000 (06:39 +0100)
committerGitHub <noreply@github.com>
Wed, 28 Feb 2024 05:39:12 +0000 (13:39 +0800)
commit274c0aea2e88db9bc41690c90e13e8aedf6193d4
treeaed6cf5f0c72cc2b04e5cb3b0d758fb5aa95d68e
parentdb545b208b4bd3d1961c519da66ee2b4421afa5c
Let ctx.FormOptionalBool() return optional.Option[bool] (#29461)

just some refactoring bits towards replacing **util.OptionalBool** with
**optional.Option[bool]**
models/repo/release.go
routers/web/repo/release.go
routers/web/user/search.go
services/context/base.go
services/context/repo.go