Had to add import "fmt" and remove am "appnet" prefix.