This is Perigord's sample code.
What is Perigord?
Perigord is Golang Tools for Ethereum Development.
Please refer here for the installation. Click here
$ cd $GOPATH/src && git clone https://github.com/jkcomment/perigordTestDapp
First, it is necessary to run testnet before the build. A testnet script that can easily run testnet is in the Perigord repository. Execute the script file. A testnet script that can easily run testnet is in the Perigord repository. Run it before the build.
And, build & run
$ cd perigordTestDapp && go build main.go event.go greeter.go $ ./main