build info
continuous-integration/drone/push Build is passing

* API endpoint
* dockerfile adds commit hash and build time during build
This commit is contained in:
zegkljan
2022-02-20 00:20:19 +01:00
parent 7deb7e3f39
commit 1cf44e3bfc
7 changed files with 29 additions and 3 deletions
+5
View File
@@ -33,6 +33,11 @@ type Feature struct {
PhotoIDs []FeaturePhotoID `json:"photo_ids"`
}
type BuildInfo struct {
VersionHash string `json:"version_hash"`
BuildTime *time.Time `json:"build_time"`
}
// transport objects
type Coords struct {