Go supports vanity import paths to decouple the import path and the code repository.
This repository holds sources for the go.szostok.io which is responsible for resolving go get go.szostok.io/{name}
into github.com/mszostok/{project}
.
hugo new {name}.md
Make sure you have installed Hugo on your system. Follow the instructions to clone this repository and build the docs locally.
-
Clone the repository
gh repo clone mszostok/go.szostok.io cd go.szostok.io
-
Fetch the theme submodule
git submodule update --init --recursive
-
Start local server
hugo serve -D
Site can be viewed at http://localhost:1313