all repos — goget @ 7732a61b7775ba7448e1c69e0d577577f1e228f2

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; else, redirects to the specified git URL (assumes https://).

    <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.