mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
15 lines
325 B
Go
15 lines
325 B
Go
package common
|
|
|
|
import (
|
|
"github.com/APIParkLab/APIPark/common/version"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
var _ ICommonController = (*imlCommonController)(nil)
|
|
|
|
type imlCommonController struct{}
|
|
|
|
func (i imlCommonController) Version(ctx *gin.Context) (string, string, error) {
|
|
return version.Version, version.BuildTime, nil
|
|
}
|