This commit is contained in:
yp05327 2024-09-12 05:20:42 +00:00
parent 0717cb6faf
commit 051fdffb50
3 changed files with 3 additions and 1 deletions

View File

@ -114,7 +114,7 @@ type Repository struct {
MirrorUpdated time.Time `json:"mirror_updated,omitempty"`
RepoTransfer *RepoTransfer `json:"repo_transfer"`
Topics []string `json:"topics"`
Licenses []string `json:"licenses"`
Licenses []string `json:"licenses"`
}
// CreateRepoOption options when creating repository

View File

@ -9,6 +9,7 @@ import (
"testing"
repo_module "code.gitea.io/gitea/modules/repository"
"github.com/stretchr/testify/assert"
)

View File

@ -12,6 +12,7 @@ import (
auth_model "code.gitea.io/gitea/models/auth"
api "code.gitea.io/gitea/modules/structs"
"github.com/stretchr/testify/assert"
)