This project that is a example of
- handling cookies,
- go validator,
- sqlite3,
- handling of templates,
- reading and writing of files,
- How to upload files,
- flash massages using cookies
clone the repo
git clone url of the repo
go run main.go (OR) go build main.go
PR is welcome:)
using libraries( "crypto/rand" "database/sql" "encoding/base64" "html/template" "io" "io/ioutil" "net/http" "os" "strconv" "strings" "time" "github.com/asaskevich/govalidator" "github.com/gorilla/mux" "github.com/gorilla/securecookie" _ "github.com/mattn/go-sqlite3" uuid "github.com/satori/go.uuid" "golang.org/x/crypto/bcrypt" )