2022-11-11 16:15:22 -06:00
|
|
|
package funcmap
|
|
|
|
|
|
|
|
import "github.com/eternal-flame-AD/yoake/internal/version"
|
|
|
|
|
|
|
|
type V struct {
|
2022-11-15 10:55:23 -06:00
|
|
|
Version string
|
|
|
|
Date string
|
2022-11-11 16:15:22 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
func Version() (*V, error) {
|
|
|
|
return &V{
|
2022-11-15 10:55:23 -06:00
|
|
|
Version: version.Version,
|
|
|
|
Date: version.Date,
|
2022-11-11 16:15:22 -06:00
|
|
|
}, nil
|
|
|
|
}
|