mirror of
https://github.com/rwxrob/dot
synced 2024-11-18 15:25:52 +00:00
16 lines
515 B
Plaintext
16 lines
515 B
Plaintext
|
#!/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
|