cuemata/internal/schema/metadata.go
Hoang Nguyen c991be4740
Another code snapshot
Nothing to see here yet, except:
- Add `nogo` support. Closes #2
  (I only use the analyzers from golang.org/x/tools, so nogo right
  now is not really on par with golangci-lint)
- Remove golangci-lint
- Fill out providers.toml file (it was daunting -_-)
- Update bazel deps
2023-12-23 00:00:00 +07:00

27 lines
537 B
Go

/*
* SPDX-FileCopyrightText: 2023 Hoang Nguyen <folliekazetani@protonmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
package schema
import (
_ "embed"
)
type PkgInfo struct {
Type string `toml:"type"`
Version string `toml:"version"`
RepoSlug string `toml:"repo_slug"`
SchemaFilePath string `toml:"schema_file_path"`
GitURL string `toml:"git_url,omitempty"`
}
const (
githubURL = "https://github.com"
gitlabURL = "https://gitlab.com"
)
//go:embed providers.toml
var providers string