From 95952aae6b8a81708789abf29c9c06ef293408b6 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Sat, 18 Apr 2020 11:52:50 +0200 Subject: [PATCH] Use vanity url for module path --- .gitignore | 2 +- README.md | 4 ++-- _config.yml | 1 - CNAME => docs/CNAME | 0 docs/index.html | 3 +++ docs/kis3/index.html | 5 +++++ go.mod | 2 +- stats.go | 2 +- 8 files changed, 13 insertions(+), 6 deletions(-) delete mode 100644 _config.yml rename CNAME => docs/CNAME (100%) create mode 100644 docs/index.html create mode 100644 docs/kis3/index.html diff --git a/.gitignore b/.gitignore index 1503af0..a611a70 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ .idea/ data/ config.json -kis3 \ No newline at end of file +/kis3 diff --git a/README.md b/README.md index 7d85272..1651cde 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,10 @@ You should also mount a configuration file to `/app/config.json`. ### Build from source -It's also possible to use KISSS without Docker, but for that you need to compile it yourself. All you need to do so is installing go (follow the [instruction](https://golang.org/doc/install) or use [distro.tools](https://distro.tools) to install the latest version on Linux - you need at least version 1.12) and execute the following command: +It's also possible to use KISSS without Docker, but for that you need to compile it yourself. All you need to do so is installing go (follow the [instruction](https://golang.org/doc/install) or use [distro.tools](https://distro.tools) to install the latest version on Linux - you need at least version 1.14) and execute the following command: ```bash -go get -u github.com/kis3/kis3 +go get -u kis3.dev/kis3 ``` After that there should be an executable with the name `kis3` in `$HOME/go/bin`. diff --git a/_config.yml b/_config.yml deleted file mode 100644 index c419263..0000000 --- a/_config.yml +++ /dev/null @@ -1 +0,0 @@ -theme: jekyll-theme-cayman \ No newline at end of file diff --git a/CNAME b/docs/CNAME similarity index 100% rename from CNAME rename to docs/CNAME diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..c02ba19 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,3 @@ + +Keep It Simple Stupid Stats (KISSS) + diff --git a/docs/kis3/index.html b/docs/kis3/index.html new file mode 100644 index 0000000..7698cb3 --- /dev/null +++ b/docs/kis3/index.html @@ -0,0 +1,5 @@ + +Keep It Simple Stupid Stats (KISSS) + + + diff --git a/go.mod b/go.mod index 878b2b7..db6bf02 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/kis3/kis3 +module kis3.dev/kis3 go 1.14 diff --git a/stats.go b/stats.go index d8290c6..8571c4a 100644 --- a/stats.go +++ b/stats.go @@ -10,7 +10,7 @@ import ( "strings" tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api" - "github.com/kis3/kis3/helpers" + "kis3.dev/kis3/helpers" "github.com/whiteshtef/clockwork" )