minor fmt

Former-commit-id: d22d8c4a715326901cd12368268eb3fb3e087a5f
This commit is contained in:
Gerasimos (Makis) Maropoulos 2019-02-02 04:25:04 +02:00
parent 4284739151
commit 7278bcd537
5 changed files with 3563 additions and 3564 deletions

View File

@ -6,7 +6,6 @@
package main
import (
"fmt"
"os"
@ -14,7 +13,6 @@ import (
"time"
)
type gzipAsset struct {
bytes []byte
info gzipFileInfoEx
@ -3649,8 +3647,6 @@ func gzipBindataAssetsJsJquery211js() (*gzipAsset, error) {
return a, nil
}
// GzipAsset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
@ -3711,7 +3707,6 @@ var _gzipbindata = map[string]func() (*gzipAsset, error){
"assets/js/jquery-2.1.1.js": gzipBindataAssetsJsJquery211js,
}
// GzipAssetDir returns the file names below a certain
// directory embedded in the file by bindata.
// For example if you run bindata on data/... and data contains the
@ -3755,7 +3750,6 @@ func GzipAssetDir(name string) ([]string, error) {
return rv, nil
}
type gzipBintree struct {
Func func() (*gzipAsset, error)
Children map[string]*gzipBintree

View File

@ -0,0 +1,3 @@
## A URL Shortener Service using Go, Iris and Bolt
Hackernoon Article: https://hackernoon.com/a-url-shortener-service-using-go-iris-and-bolt-4182f0b00ae7

View File

@ -3,7 +3,7 @@ package main
import (
"net/url"
"github.com/satori/go.uuid"
"github.com/iris-contrib/go.uuid"
)
// Generator the type to generate keys(short urls)

View File

@ -3,7 +3,7 @@
// Article: https://medium.com/@kataras/a-url-shortener-service-using-go-iris-and-bolt-4182f0b00ae7
//
// $ go get github.com/etcd-io/bbolt
// $ go get github.com/satori/go.uuid
// $ go get github.com/iris-contrib/go.uuid
// $ cd $GOPATH/src/github.com/kataras/iris/_examples/tutorial/url-shortener
// $ go build
// $ ./url-shortener

View File

@ -1,5 +1,7 @@
# A Todo MVC Application using Iris and Vue.js
## Hackernoon Article: https://twitter.com/vuejsdevelopers/status/954805901789224960
Vue.js is a front-end framework for building web applications using javascript. It has a blazing fast Virtual DOM renderer.
Iris is a back-end framework for building web applications using The Go Programming Language (disclaimer: author here). It's one of the fastest and featured web frameworks out there. We wanna use this to serve our "todo service".