Golang notes

Create a path

Use filepath package.

confPath := filepath.Join(WorkPath, "conf", "conf.yaml")

Resulting confPath is a string.