From 4ee6cd1f1348a60a2dc7b5e62c7997c3f4205eca Mon Sep 17 00:00:00 2001 From: Kamil Samigullin Date: Sun, 4 Feb 2018 21:45:09 +0300 Subject: [PATCH] remove go 1.7.x and 1.8.x from travis config, change redirect url logic, add pixel middleware for future, fix #66: complete docs --- .travis.yml | 4 - docs/index.html | 70 +++++------- docs/script.js | 8 ++ docs/style.css | 187 +++++++++---------------------- env/rest.http | 4 - server/middleware/pixel.go | 23 ++++ server/middleware/pixel_test.go | 40 +++++++ server/router/chi/router.go | 2 - server/router/chi/router_test.go | 5 - server/server.go | 2 +- 10 files changed, 152 insertions(+), 193 deletions(-) create mode 100644 server/middleware/pixel.go create mode 100644 server/middleware/pixel_test.go diff --git a/.travis.yml b/.travis.yml index 8424972..870d8a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,11 @@ language: go go: -- 1.7.x -- 1.8.x - 1.9.x - master matrix: allow_failures: - - go: 1.7.x # problems with go generate - - go: 1.8.x # problems with go generate - go: master fast_finish: true diff --git a/docs/index.html b/docs/index.html index d284d46..f47b2ba 100644 --- a/docs/index.html +++ b/docs/index.html @@ -13,11 +13,11 @@ - - - + + +