module
Version:
v0.0.0-...-cc76b4e
Opens a new window with list of versions in this module.
Published: May 19, 2019
License: MIT
Opens a new window with license information.
README
¶
GO-SYNTAX-STUDY
Setting GOPATH variable dynamically
- Adding this function in your ~/.bashrc -
builtin cd "$@"
cdir=$PWD
while [ "$cdir" != "/" ]; do
if [ -e "$cdir/.gopath" ]; then
export GOPATH=$cdir
break
fi
cdir=$(dirname "$cdir")
done
}
- Creating an empty file .gopath in your root workspace path
touch .gotpath
Good suggestion found here
Good Practies in GoLang
Good Practies
Directories
¶
src
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.