readme (view raw)
1goget
2-----
3
4go-import meta tag server. Serves the below meta tag if the URL query contains
5?go-get=1; else, redirects to the specified git URL (assumes https://).
6
7 <head><meta name="go-import" content="example.com git https://git.example.com"></head>
8
9
10USAGE
11
12 Usage of ./goget:
13 -addr string
14 listen address (default "0.0.0.0:6868")
15 -git-url string
16 actual git url of your go module
17 -pretty-url string
18 pretty url for your go module
19
20
21NOTES
22
23Run behind a TLS terminating reverse proxy like relayd(8) or nginx.