Commit Graph

132 Commits

Author SHA1 Message Date
d8e77cc756 fix: use listenAddr instead of hardcode listen address 2022-05-18 15:07:26 +02:00
fe2aaf8537 fix: latest tag 2022-05-18 13:50:53 +02:00
22ec82a326 Merge pull request 'fix/flags_and_build' (#4) from fix/flags_and_build into main
Reviewed-on: #4
2022-05-18 11:43:49 +00:00
6ac306e327 feat: add builds 2022-05-18 13:42:21 +02:00
1982e6e731 fix: copy all repo files to docker build space 2022-05-18 13:41:55 +02:00
c8a2190606 fix: http flag default value 2022-05-18 13:34:06 +02:00
bb6ecd0a86 fix: command flags 2022-05-17 14:26:34 +02:00
084f1b7aa9 Merge pull request 'chore/internal' (#3) from chore/internal into main
Reviewed-on: #3
2022-05-17 12:21:49 +00:00
16bf08f2dc feat: add unit tests 2022-05-17 14:19:23 +02:00
308c523001 chore: update dependencies 2022-05-17 14:19:02 +02:00
e507707c0a chore: fix comment 2022-05-17 14:18:51 +02:00
65830755b9 feat: switch from ioutil to os package and add os.File input to dumpDbTOFile 2022-05-17 14:18:27 +02:00
a31df48b23 feat: change shortener input type from []byte to string 2022-05-17 14:16:23 +02:00
267d2805ab feat: better error handling 2022-05-17 14:15:33 +02:00
ae557079b7 chore: dependencies cleanup 2022-05-17 14:10:55 +02:00
473deec7e9 chore: use shortie as a internal package 2022-05-17 14:10:35 +02:00
9841b9d71a general dep update 2022-05-16 10:23:34 +02:00
5d3a3cb4f7 general dep update 2022-05-16 10:22:09 +02:00
b5b4fa66fd general dep update 2022-05-16 10:19:40 +02:00
705312b4df general dep update 2022-04-12 12:25:01 +02:00
4edfb03442 Merge pull request 'pin modules and update dockerfile go version' (#2) from mod into master
Reviewed-on: #2
2021-01-10 14:54:49 +00:00
89667718b7 pin modules and update dockerfile go version 2021-01-10 15:54:12 +01:00
2b52b93bbe Merge pull request 'mod' (#1) from mod into master
Reviewed-on: #1
2021-01-10 14:51:48 +00:00
e3bdf80dac move from gorilla/mux to fasthttp/router 2021-01-10 15:49:00 +01:00
3ecfe5503d fix template type 2021-01-10 14:57:12 +01:00
8932cea4c9 modulerize short functions 2021-01-10 14:42:13 +01:00
430d388c57 I'm bad at commits... 2020-03-26 11:41:41 +01:00
5e119a1c88 remove gitlab CI setup and build badge 2019-10-12 08:37:37 +02:00
d5148efc41 Use structs to hold configuration data instead of loose variables 2019-10-06 13:40:14 +02:00
0c5070fb36 Merge branch 'templatingTheRealThing' into 'master'
Templating the real thing

See merge request wolvie/short!8
2019-09-19 14:27:14 +00:00
4223049ccc Bump version from 1.1.0 to 1.2.0 2019-09-19 16:25:58 +02:00
fd871ec411 Delete old templates and add response.html that deals with all responses 2019-09-19 16:23:49 +02:00
89aa61cca2 Switch to using a single conditional template 2019-09-19 16:23:04 +02:00
870c87d672 Merge branch 'refactor_template' into 'master'
Refactor template

See merge request wolvie/short!7
2019-09-19 10:59:36 +00:00
6310d32ec4 bump golang build to 1.12.9 2019-09-19 12:57:28 +02:00
10018b4d74 bump version to 1.1.0 2019-09-19 12:50:10 +02:00
42998fee7c update templates 2019-09-19 12:49:27 +02:00
a7e7ac33ee Change html templating style 2019-09-19 12:48:25 +02:00
583d6abb84 minor logic refactor 2019-09-19 12:43:05 +02:00
26263cedc6 spelling is hard 2019-05-02 00:08:20 +02:00
d0ab87e9e6 Readme update 2019-05-01 23:20:13 +02:00
70bf7b0406 Bump version to 1.0.1 2019-05-01 16:49:12 +02:00
b9771a638a Reorder variables 2019-05-01 16:44:24 +02:00
c1a0d6a789 Improved documentation 2019-05-01 12:25:50 +02:00
4b1bd2c8e0 Move internal error handling into his own func 2019-05-01 12:25:23 +02:00
50757e3feb Improve formating/readability 2019-05-01 08:53:29 +02:00
782dc60a41 remove fmt module 2019-05-01 01:11:35 +02:00
bcb1c5a641 Improved error logging 2019-05-01 01:02:27 +02:00
fcce320c39 Refactor global variables 2019-05-01 00:56:11 +02:00
a834bfab9f optimize port check 2019-05-01 00:54:20 +02:00