| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. |
| 4 |
| 5 package gaemiddleware |
| 6 |
| 7 import ( |
| 8 "github.com/luci/luci-go/common/tsmon/versions" |
| 9 ) |
| 10 |
| 11 // Version is a semantic version of base luci-go GAE library. |
| 12 // |
| 13 // It is bumped whenever we add new features or fix important bugs. It is |
| 14 // reported to monitoring as 'luci/components/version' string metric with |
| 15 // 'component' field set to 'github.com/luci/luci-go/appengine/gaemiddleware'. |
| 16 // |
| 17 // It allows to track what GAE apps use what version of the library, so it's |
| 18 // easier to detect stale code running in production. |
| 19 const Version = "1.0.0" |
| 20 |
| 21 func init() { |
| 22 versions.Register("github.com/luci/luci-go/appengine/gaemiddleware", Ver
sion) |
| 23 } |
| OLD | NEW |