all repos — gopkgs @ 881ed5e5e6bf157ccbe9046fd406fe49ae3ea64b

Go module vanity import paths

fix links to go source

Alan Pearce
commit

881ed5e5e6bf157ccbe9046fd406fe49ae3ea64b

parent

4e599771482b896bc51517e680af81bcbecd0c3a

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M main.gomain.go
@@ -48,8 +48,8 @@
func sourceString(config *Config, pkg string) string { return fmt.Sprintf("%s _ %s %s", must(url.JoinPath(config.Domain, pkg)), - must(url.JoinPath(config.Forge, pkg, "tree/main{/dir}")), - must(url.JoinPath(config.Forge, pkg, "tree/main{/dir}/{file}#n{line}")), + must(url.JoinPath(config.Forge, pkg))+"/tree/main{/dir}", + must(url.JoinPath(config.Forge, pkg))+"/tree/main{/dir}/{file}#n{line}", ) }