From 5f379d83e592d5232a2d08619ca27fc8bbcf80b9 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Fri, 24 Jul 2020 23:09:18 +0300 Subject: [PATCH] minor --- .travis.yml | 11 ++++++----- README.md | 16 ++++++++++++++-- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index d895cc9..361b729 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,11 @@ os: - linux - osx go: - - 1.9.x - - 1.10.x - - 1.11.x -go_import_path: github.com/kataras/go-sessions + - 1.14.x +go_import_path: github.com/kataras/go-sessions/v3 +env: + global: + - GO111MODULE=on install: - go get -t ./... script: @@ -16,4 +17,4 @@ after_script: - cd ./_examples - go get ./... - go test -v -cover ./... - - cd ../ \ No newline at end of file + - cd ../ diff --git a/README.md b/README.md index 24911fb..0c9cb2e 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,22 @@ sess. Installation ------------ -The only requirement is the [Go Programming Language](https://golang.org/dl), at least v1.7. +The only requirement is the [Go Programming Language](https://golang.org/dl), at least 1.14. ```bash -$ go get -u github.com/kataras/go-sessions +$ go get github.com/kataras/go-sessions/v3 +``` + +**go.mod** + +```sh +module your_app + +go 1.14 + +require ( + github.com/kataras/go-sessions/v3 v3.2.0 +) ``` Features