Learn go by examples this examples were made following this post NOTE: when something unexpected happens during dependencies download you can try to clean cache: go clean -cache -modcache -i -r