mirror of
https://github.com/luscis/openlan.git
synced 2025-09-26 20:41:29 +08:00
17 lines
287 B
Go
Executable File
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,
|
|
}
|
|
}
|