• 點部落
  • 首頁
  • RSS
    • 登入
  • 點部落
  • 首頁
  • RSS
    • 登入

常時遍有

無邊際

2018-04-09

show gopath cmd get gopath

  • 130
  • 0
  • 2018-04-10

show gopath cmd get gopath

use go env  in cmd, and it'll show environment information including gopath.

see https://golang.org/cmd/go/#hdr-Print_Go_environment_information

 

Besides if you want to set or get environment variable by code,

see here: https://gobyexample.com/environment-variables

 

  • 回首頁
  • 服務規範
  • 聯絡我們
© 2025 點部落 Ver. 2022.9.27.1
電魔小鋪有限公司 製作、維運;登豐數位科技 提供資安檢測