{"modulePath":"github.com/linuxsuren/api-testing","version":"v0.0.21","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package version\n\nCopyright 2023 API Testing Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\n### Package version provides the version access of this app {#hdr-Package_version_provides_the_version_access_of_this_app}\n\nCopyright 2024 API Testing Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\n## Constants\n\n```go\nconst UnknownVersion = \"unknown\"\n```\n\n## Functions\n\n```go\nfunc GetCommit() string\n```\n\n```go\nfunc GetDate() string\n```\n\n```go\nfunc GetDetailedVersion() string\n```\n\n```go\nfunc GetModVersion(name, mod string) (ver string, err error)\n```\n\n```go\nfunc GetModVersions(mod string) (verMap map[string]string, err error)\n```\n\n```go\nfunc GetVersion() string\n```\nGetVersion returns the version\n\n```go\nfunc SetMod(mod string)\n```\n\n","path":"github.com/linuxsuren/api-testing/pkg/version","name":"version","synopsis":"","isRedistributable":true}
