Go
CtrlK
  • Introduction
  • chap1
  • Gorilla
  • 007
  • constructor
  • Go Web Examples
  • Microservice - basic
  • Microservice - JWT
  • Cloud Native Application
  • concurrency
  • concurrency esay
  • gRPC python
  • thread n process
  • cmd
  • misc
  • 基礎實戰
  • GORM - basic
  • GORM - model
  • GORM - association
  • GORM - CRUD
  • GORM - CB
  • 練習題 1
  • 練習題 2
  • 練習題 3
  • 練習題 4
  • TODO
  • context
Powered by GitBook
On this page
  • 1. GO111MODULES
  • 2. init
  • 3. update

Was this helpful?

練習題 2

https://www.kablamo.com.au/blog-1/2018/12/10/just-tell-me-how-to-use-go-modules?fbclid=IwAR1-oK9GV6xShtN01GcPndJ2WT-ltBDSdk7RC7XTNrbrI1wYMeL2MHJBJVU

1. GO111MODULES

$ export GO111MODULES=on

2. init

$ go mod init github.com/JasonYCHuang/todo

3. update

$ go get -u <repo url>

$ go mod vendor
Previous練習題 1Next練習題 3

Last updated 5 years ago

Was this helpful?