remove GoSourceFile/GoSourceLine configs
as they're formatted in template.html in fact
This commit is contained in:
parent
e064ca1f6b
commit
ca2b58bd62
@ -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": {
|
||||||
|
5
main.go
5
main.go
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user