Practices of leetcode in Go.
gofmt -w <source-file-path> # format file
go build [-o <output-path>] <source-file-path> # build from source file
./source-file-path # run app
e.g.:
go build -o dist/main sliding-window/15-longest-repeating-character-replacement-0424/main.go
./dist/main