Add GSP init and AI usage tooling
This commit is contained in:
18
toolkit/internal/gsp/version.go
Normal file
18
toolkit/internal/gsp/version.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package gsp
|
||||
|
||||
const ToolkitVersion = "0.1.0"
|
||||
const DefaultGSPVersion = "0.1"
|
||||
|
||||
var SupportedGSPVersions = []string{DefaultGSPVersion}
|
||||
|
||||
func SupportsGSPVersion(version string) bool {
|
||||
if version == "" {
|
||||
return true
|
||||
}
|
||||
for _, supported := range SupportedGSPVersions {
|
||||
if version == supported {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user