Commit Graph

41 Commits

Author SHA1 Message Date
87440d24b8 Update package stage 2016-11-17 23:29:49 +00:00
71e45a8eca Compress releases with gzip 2016-11-17 00:06:44 +00:00
4b91ebc76e Bump version to 0.1.0 2016-11-16 23:47:31 +00:00
51462b45cd Update packing task to use gox 2016-11-16 23:47:24 +00:00
6e7f908500 Update gitignore file 2016-11-16 23:38:50 +00:00
e031224998 Add shitty packaging script 2016-11-16 23:21:05 +00:00
d5debfc6ca Add proper command line flags and version support 2016-11-16 23:17:36 +00:00
b372ad688a Fix Makefile 2016-11-16 22:40:54 +00:00
11b5939b8c Update Makefile 2016-11-06 21:43:23 +00:00
ac0c25b24e Update makefile 2016-07-18 01:27:37 +01:00
10873ae9ae Make things pretty 2016-07-18 01:27:22 +01:00
c53b088f19 Rename api_responses.go to responses.go 2016-07-18 00:00:25 +01:00
cf0d18e4a0 Extract template setup into it's own function 2016-07-17 17:07:21 +01:00
bb44578173 Split Handler into Handler and APIHandler 2016-07-17 17:03:50 +01:00
5065c3178d Validate UIDs on Lookup 2016-07-17 16:36:59 +01:00
4669c1961a Add .gitignore file 2016-07-17 16:20:34 +01:00
71d3e26fe4 Add vendor/vendor.json from govendor
For now I won't include the whole vendor directory as I keep swapping in
and out libraries all the time while messing about.
2016-07-17 16:19:54 +01:00
351be0b59d Update main.go according to latest changes 2016-07-17 16:18:01 +01:00
5d3c8ef3ca Update Makefile 2016-07-17 16:17:46 +01:00
68807898da Lots of changes to web package
Use go-bindata, html/templates, and lots of other changes to the web
package.
2016-07-17 16:16:59 +01:00
2e84c00707 Turn shortener.Shortener into an interface
And have the default shortener be Base58Shortener.
2016-07-17 16:15:37 +01:00
9d636cafab Rename response attributes 2016-07-11 19:20:10 +01:00
fa9b0dfab3 Rename inmemory sub-package to inmemorystore 2016-07-11 18:17:33 +01:00
cbdd5790bd Fix epic typo :O 2016-07-11 18:16:57 +01:00
e3ec2ff16c Add very basic in-memory storage adapter 2016-07-11 14:11:38 +01:00
6b0244c552 Hash URLs with SHA1 for lookup by URL operations 2016-07-11 14:08:59 +01:00
3a8669b394 Update Makefile 2016-07-11 14:07:40 +01:00
0dd530828d Fix typo 2016-07-11 01:19:21 +01:00
931ec38d2d Extract web handlers to their own file 2016-07-11 01:18:15 +01:00
4a71a34c42 Add Makefile for basic tasks 2016-07-11 01:03:28 +01:00
76145b3969 Get basic HTTP server working 2016-07-11 00:51:48 +01:00
0ddf94c504 Update goleveldbstore test 2016-07-10 16:35:10 +01:00
4bf98aac89 Basic web package and wip on main 2016-07-10 16:34:18 +01:00
ae48e665f0 Improve shortner tests 2016-07-10 16:33:46 +01:00
7db54a871b Lowercase errors 2016-07-10 16:32:40 +01:00
27bd7d32ed Use a mock store in Shortner tests
And also add benchmarks for shortner.Shorten and shortner.Lookup
functions.
2016-07-06 14:37:58 +01:00
089b481fc0 Initial work on shortner package 2016-07-05 23:19:24 +01:00
d1a330187e Restructure storage code a bit 2016-07-05 23:16:33 +01:00
53fa0bd397 Initial work on storage package 2016-07-03 02:09:46 +01:00
eb02d1c5a0 Add shitty readme 2016-06-25 22:40:41 +01:00
919883326b Initial commit 2016-06-25 22:38:57 +01:00