You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/convert
6543 d453533beb
[Refactor] Move APIFormat functions into convert package (#12856)
* USER APIFormat -> ToUser

* Migrate more and mark APIFormat deprecated

* models.Comment APIFormat() -> convert.ToComment

* models.Release APIFormat() -> convert.ToRelease

* models.Attachments APIFormat() -> convert.ToReleaseAttachments

* models.CommitStatus APIFormat() -> convert.ToCommitStatus

* finish migration to convert.ToUser

* Move Test

* Imprufe Test

* fix test

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
..
convert.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
git_commit.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
git_commit_test.go [#13004] Add Timestamp to Tag list API (#13026) 4 years ago
issue.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
issue_comment.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
issue_test.go Add Created & Updated to Milestone (#12662) 4 years ago
main_test.go Move pull request api convert to convert package (#9664) 5 years ago
pull.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
pull_review.go API PullReviewComment HTMLPullURL should return the HTMLURL (#11501) 4 years ago
pull_test.go Display pull request head branch even the branch deleted or repository deleted (#10413) 4 years ago
release.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
user.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
user_test.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
utils.go [API] Migration: Change ServiceType String (#12672) 4 years ago