remove GoSourceFile/GoSourceLine configs

as they're formatted in template.html in fact
This commit is contained in:
Edgaru089 2021-06-13 19:19:20 +08:00
parent e064ca1f6b
commit ca2b58bd62
2 changed files with 0 additions and 7 deletions

View File

@ -2,8 +2,6 @@
"__comment__": "What comment? Just go read the code.", "__comment__": "What comment? Just go read the code.",
"GitServerPrefix": "https://git.edgaru089.ml", "GitServerPrefix": "https://git.edgaru089.ml",
"GoSourceFile": "https://git.edgaru089.ml/{/path}/src/branch/master{/dir}",
"GoSourceLine": "https://git.edgaru089.ml/{/path}/src/branch/master{/dir}/{file}#L{line}",
"Repos": { "Repos": {
"go/gl02": { "go/gl02": {

View File

@ -23,11 +23,6 @@ type Repo struct {
type Config struct { type Config struct {
GitServerPrefix string // Like https://github.com or https://git.example.com (without ending slash) GitServerPrefix string // Like https://github.com or https://git.example.com (without ending slash)
// go-source tag strings. Example:
// GoSourceFile: https://git.example.com/{/path}/src/branch/master{/dir}
// GoSourceLine: https://git.example.com/{/path}/src/branch/master{/dir}/{file}#L{line}
GoSourceFile, GoSourceLine string
Repos map[string]*Repo // mapped by ShortPath, like package/code Repos map[string]*Repo // mapped by ShortPath, like package/code
} }