all repos — goget @ 8156e331c23cb837bd08cb51c8bdf24a685f2e1c

returns a go-import meta tag

readme (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
goget
-----

go-import meta tag server. Serves the below meta tag if the URL query
contains go-get=1.

    <head><meta name="go-import" content="example.com git https://git.example.com"></head>


USAGE

    Usage of ./goget:
      -addr string
            listen address (default "0.0.0.0:6868")
      -git-url string
            actual git url of your go module
      -pretty-url string
            pretty url for your go module


NOTES

Run behind a TLS terminating reverse proxy like relayd(8) or nginx.