code.gitea.io/gitea@v1.19.3/modules/packages/conan/metadata.go (about) 1 // Copyright 2022 The Gitea Authors. All rights reserved. 2 // SPDX-License-Identifier: MIT 3 4 package conan 5 6 const ( 7 PropertyRecipeUser = "conan.recipe.user" 8 PropertyRecipeChannel = "conan.recipe.channel" 9 PropertyRecipeRevision = "conan.recipe.revision" 10 PropertyPackageReference = "conan.package.reference" 11 PropertyPackageRevision = "conan.package.revision" 12 PropertyPackageInfo = "conan.package.info" 13 ) 14 15 // Metadata represents the metadata of a Conan package 16 type Metadata struct { 17 Author string `json:"author,omitempty"` 18 License string `json:"license,omitempty"` 19 ProjectURL string `json:"project_url,omitempty"` 20 RepositoryURL string `json:"repository_url,omitempty"` 21 Description string `json:"description,omitempty"` 22 Keywords []string `json:"keywords,omitempty"` 23 }