learngo

module
v0.0.0-...-746d51b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2019 License: MIT

README

##Setting environment

Environment for Windows

  • set GOROOT=E:\Learning\go-lang\go
  • set GOPATH=E:\Learning\go-lang\workspace\LearnGO
  • set GOBIN=E:\Learning\go-lang\workspace\LearnGO\bin
#### Environment for Linux
  • export GOROOT=/e/Learning/go-lang/go
  • export GOPATH=/e/Learning/go-lang/workspace/LearnGO
  • export GOBIN=/e/Learning/go-lang/workspace/LearnGO/bin

Setting dep package management

  • Goto src\example directory and type dep init
  • To install dependencies which are being used by your project type dep ensure

GOBIN will used when developer run go install

##A powerful URL router and dispatcher for golang go get -u github.com/gorilla/mux
https://www.youtube.com/watch?v=SonwZ6MF5BE

##The fantastic ORM library for Golang - http://gorm.io/ go get -u github.com/jinzhu/gorm dep ensure -add github.com/jinzhu/gorm

Go Humans! (formatters for units to human friendly sizes)

https://github.com/dustin/go-humanize
go get -u github.com/dustin/go-humanize

Terminal color

https://github.com/gookit/color
go get -u gopkg.in/gookit/color.v1

Keyboard

https://github.com/eiannone/keyboard
https://github.com/go-vgo/robotgo

Concurrency in GO

https://www.youtube.com/watch?v=f6kdp27TYZs
https://www.youtube.com/watch?v=LvgVSSpwND8
https://www.youtube.com/watch?v=yKQOunhhf4A&list=PL8xg31LTUcFLTDowOS5MiGRVTI7_WBnQV&index=125

Other useful stuff

https://willhaley.com/blog/private-and-public-visibility-with-go-packages/
https://getuikit.com

Print utility

http://www.columbia.edu/~em36/PDFtoPrinter.exe

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL