- Security with Go
- John Daniel Leon
- 125字
- 2021-06-30 19:06:44
Installing a program for use
Installing a program is similar to building one but, instead of running go build, you run go install. You can run it inside a directory, pass it an absolute directory path, and pass it a directory path relative to the $GOPATH environment variable or on a file directly. Once a program has been installed, it goes into your $GOBIN, which you should have already set. You should have already added $GOBIN to your $PATH as well so that you can run the installed programs directly from your command line no matter what directory you are currently in. Installing is totally optional, but it is convenient for certain programs, especially for the ones you want to save or use frequently.
推薦閱讀
- 數(shù)學(xué)星球:人類(lèi)文明與數(shù)學(xué)(萬(wàn)物皆數(shù)學(xué))
- 西去東來(lái):沿絲綢之路數(shù)學(xué)知識(shí)的傳播與交流
- 數(shù)學(xué)建模:算法與編程實(shí)現(xiàn)
- ANSYS 18.0有限元分析基礎(chǔ)與實(shí)例教程
- 迷人的數(shù)學(xué)(全2冊(cè))
- 神機(jī)妙算:一本關(guān)于算法的閑書(shū)
- 不可思議的自然對(duì)數(shù)
- 第四屆(2018)北京高校數(shù)學(xué)微課程教學(xué)設(shè)計(jì)競(jìng)賽優(yōu)秀作品與教改論文集錦
- 牛津通識(shí)讀本:數(shù)學(xué)(中文版)
- 讓鴿子開(kāi)公交車(chē)?:看不見(jiàn)的數(shù)學(xué)如何影響我們的日常
- 微積分的力量
- 高等數(shù)學(xué)(上冊(cè))
- 復(fù)分析:可視化方法
- Improving your C# Skills
- Preventing Ransomware