Description
goredirects enables the use of a vanity redirect domain in your go package
imports. For example, instead of using import "github.com/example/package" you
could use a vanity domain, and import "example.com/package", yet still host the
source code on GitHub.
Specifically, this tool creates a set of HTML files containing the go-imports
meta tags, for each of your projects. This uses the remote import
paths feature of go get
command to redirect from your vanity domain to GitHub.com.
goredirects alternatives and similar packages
Based on the "Command Line" category.
Alternatively, view goredirects alternatives based on common mentions on social networks and blogs.
-
Rich Interactive Widgets for Terminal UIs
Terminal UI library with rich, interactive widgets — written in Golang -
survey
DISCONTINUED. A golang library for building interactive and accessible prompts with full support for windows and posix terminals. -
tcell
Tcell is an alternate terminal package, similar in some ways to termbox, but better in others. -
pterm
✨ #PTerm is a modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus and much more 🚀 It's completely configurable and 100% cross-platform compatible. -
cointop
DISCONTINUED. A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀 -
The Platinum Searcher
A code search tool similar to ack and the_silver_searcher(ag). It supports multi platforms and multi encodings. -
asciigraph
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies. -
CLI Color
🎨 Terminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows. GO CLI 控制台颜色渲染工具库,支持16色,256色,RGB色彩渲染输出,使用类似于 Print/Sprintf,兼容并支持 Windows 环境的色彩渲染 -
go-size-analyzer
A tool for analyzing the size of compiled Go binaries, offering cross-platform support, detailed breakdowns, and multiple output formats.
InfluxDB - Purpose built for real-time analytics at any scale.
Do you think we are missing an alternative of goredirects or a related project?
README
goredirects
by Andrew Brampton (bramp.net)
goredirects enables the use of a vanity redirect domain in your go package
imports. For example, instead of using import "github.com/example/package"
you
could use a vanity domain, and import "example.com/package"
, yet still host the
source code on GitHub.
Specifically, this tool creates a set of HTML files containing the go-imports
meta tags, for each of your projects. This uses the remote import
paths feature of go get
command to redirect from your vanity domain to GitHub.com.
Example
To create a set of static HTML redirects:
$ go install bramp.net/goredirects
$ goredirects
Usage: goredirects <domain> <output dir>
$ goredirects bramp.net outputdir
# Looking under $GOROOT/src/bramp.net for all packages
...
This will search your $GOROOT/src/ for all packages, and create static HTML into the outputdir for each package.
To read more about how this tool works, checkout my blog article on the topic.
Licence (Apache 2)
This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.
Copyright 2017 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*Note that all licence references and agreements mentioned in the goredirects README section above
are relevant to that project's source code only.