/usr/share/gocode/src/github.com/naoina/toml/example_util_test.go is in golang-github-naoina-toml-dev 0.1.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | package toml_test
import (
"strings"
)
func indent(b []byte, spaces int) string {
space := strings.Repeat(" ", spaces)
return space + strings.Replace(string(b), "\n", "\n"+space, -1)
}
|