Implementations of string matching alghoritms in Go language.
By Filip Halas.
- download and install Go from here
- check that environmental variables are set correctly - try executing
goin your command line - in case of failure (or when using ZIP archive) you will need to set them manually
- Windows: go to
Control Panel - System - Advanced (tab) - Environment variables - system variables - Unix/Linux: try executing in your command line:
export GOROOT=$HOME/golang/go export PATH=$PATH:$GOROOT/bin - variable GOROOT should be set to something like
C:\goon Windows or$HOME/golang/goon Unix/Linux - variable GOPATH to something like
$GOROOT\binon Windows or$GOROOT/binon Unix/Linux
- Windows: go to
- For running go file in your command line use:
go run filename.go - For compiling go file to Windows executable use:
go build filename.go