mirror of https://github.com/rwxrob/dot
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
515 B
Plaintext
16 lines
515 B
Plaintext
3 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
url="$1"
|
||
|
|
||
|
if [[ -e go.mod ]];then
|
||
|
url=$(head -1 go.mod)
|
||
|
url=${url#* }
|
||
|
fi
|
||
|
|
||
|
echo "![WIP](https://img.shields.io/badge/status-wip-red.svg)"
|
||
|
echo "[![GoDoc](https://godoc.org/$url?status.svg)](https://godoc.org/$url)"
|
||
|
echo "[![License](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](LICENSE)"
|
||
|
echo "[![Go Report Card](https://goreportcard.com/badge/$url)](https://goreportcard.com/report/$url)"
|
||
|
echo "[![Coverage](https://gocover.io/_badge/$url)](https://gocover.io/$url)"
|
||
|
echo
|