Files
openlan/pkg/schema/version.go
Daniel Ding d8140ddf08
Some checks failed
Coverage CI / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
Ubuntu CI / build (push) Has been cancelled
fix: display expire time.
2025-09-23 19:38:29 +08:00

17 lines
287 B
Go
Executable File

package schema
import "github.com/luscis/openlan/pkg/libol"
type Version struct {
Version string `json:"version"`
Date string `json:"date"`
Expire string `json:"expire"`
}
func NewVersionSchema() Version {
return Version{
Version: libol.Version,
Date: libol.Date,
}
}