You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: go_import.go
    path of file: ./repos/erda/internal/tools/gittar/api
    
    the code of the file until where you have to start completion: // Copyright (c) 2021 Terminus, Inc.
//
// Licen
    
func GetGoImportMeta(ctx *webcontext.Context) {
	// go import 元数据 相关参考
	// https://golang.org/cmd/go/#hdr-Remote_import_paths
	// https://www.jianshu.com/p/90ef66e41f3c
	// https://blog.zhaoweiguo.com/2019/09/24/golang-env-private-git/
	repoUrl := conf.UIPublicURL() + "/" + ctx.HttpRequest().URL.Path
	module := strings.Replace(repoUrl, "http://", "", 1)
	module = strings.Replace(repoUrl, "https://", "", 1)
	if ctx.Query("go-get") == "1" {
		ctx.Data(http.StatusOK,
			"text/html; charset=utf-8",
			[]byte(fmt.Sprintf(`<html>
		   <head>
		       <meta name="go-import" content="%s git %s" >
		   </head>
</html>`, module, repoUrl)))
	} else {
		ctx.Success("")
	}
}