goredirector

module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2022 License: MIT

README

goredirector

Server intended for import redirects.

Example:

$ curl 'localhost:8088/goredirector'
<!doctype html>
<html>
<head>
  
  <meta name="go-import" content="fmac.dev/goredirector git https://git.sr.ht/~fmac/goredirector">
  <meta name="go-source" content="fmac.dev/goredirector _ https://git.sr.ht/~fmac/goredirector/tree/master{/dir} https://git.sr.ht/~fmac/goredirector/tree/master{/dir}/{file}#L{line}">
  <meta http-equiv="refresh" content="0; url=https://godocs.io/fmac.dev/goredirector">

</head>
<body>
  
  Redirecting to docs at <a href="https://godocs.io/fmac.dev/goredirector">godocs.io/fmac.dev/goredirector</a>...

</body>
</html>

Build

$ make

Usage

TODO

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL