sample_go

module
v0.0.0-...-1a3016c Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT

README

install

$ sudo add-apt-repository ppa:longsleep/golang-backports
$ sudo apt update
$ sudo apt  install -y golang-go

version

$ go version

setting

vim ~/.bashrc
export GOPATH=$HOME/go
source ~/.bashrc

run

case1 : run

$ go run filename.go

case2 : build and run

$ go build filename.go
$ ./filename

Jump to

Keyboard shortcuts

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