package
1.6.0
Repository: https://github.com/sempr/gitea.git
Documentation: pkg.go.dev

# Functions

ToBranch convert a commit and branch to an api.Branch.
ToCommit convert a commit to api.PayloadCommit.
ToCorrectPageSize makes sure page size is in allowed range.
ToDeployKey convert models.DeployKey to api.DeployKey.
ToEmail convert models.EmailAddress to api.Email.
ToGPGKey converts models.GPGKey to api.GPGKey.
ToGPGKeyEmail convert models.EmailAddress to api.GPGKeyEmail.
ToHook convert models.Webhook to api.Hook.
ToOrganization convert models.User to api.Organization.
ToPublicKey convert models.PublicKey to api.PublicKey.
ToTeam convert models.Team to api.Team.