diff --git a/config.json b/config.json index 67be731..4473dbe 100644 --- a/config.json +++ b/config.json @@ -2,8 +2,6 @@ "__comment__": "What comment? Just go read the code.", "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": { "go/gl02": { diff --git a/main.go b/main.go index 8378d81..38eeb61 100644 --- a/main.go +++ b/main.go @@ -23,11 +23,6 @@ type Repo struct { type Config struct { 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 }