add stats

This commit is contained in:
Jon Lundy 2018-03-16 08:10:34 -06:00
parent 8c1cd121b8
commit e22a36a7aa
Signed by untrusted user who does not match committer: xuu
GPG Key ID: 346DF999B2530DAE
4 changed files with 6 additions and 4 deletions

5
Gopkg.lock generated
View File

@ -136,13 +136,14 @@
"httpsrv",
"ident",
"log",
"stats",
"uuid"
]
revision = "344ebf6e3dd9b0061ec2f85c6fef0ebe4c24c22d"
revision = "759e8f45c879eff072f60341cb151c82235da02d"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "f0136e5899d85670e4bb91c85db638b8d50d74cac1d00e96c714c7ec61513d5f"
inputs-digest = "992f6e13bd909fa436a615718637dac016f185163cb35a6611b9c842c23ba756"
solver-name = "gps-cdcl"
solver-version = 1

View File

@ -8,6 +8,7 @@ import (
"github.com/spf13/viper"
"sour.is/x/toolbox/httpsrv"
"sour.is/x/toolbox/log"
_ "sour.is/x/toolbox/stats"
)
var (

2
debian/Makefile vendored
View File

@ -29,7 +29,7 @@ build:
export BUILD="BUILD/$(NAME)_$${VERSION}-$${RELEASE}"; \
env GOOS=linux GOARCH=amd64 go build -v -o $${BUILD}/opt/sour.is/bin/paste \
-ldflags "-X main.AppVersion=$${VERSION}-$${RELEASE} -X main.AppBuild=$${DATE}"\
sour.is/x/paste; \
sour.is/x/paste/cmd/paste; \
dpkg -b $${BUILD}; \
copy:

2
debian/RELEASE vendored
View File

@ -1 +1 @@
5
7