An open API service indexing awesome lists of open source software.

https://github.com/xandeer/go-tools


https://github.com/xandeer/go-tools

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

# go-tools

## hs

A static http server.

Install:

```shell
go get -u github.com/xandeer/go-tools/hs
```

Usage:

```shell
# hs -d dir -p port
hs -d ~/tmp # default ./
hs -p 1234 # default 9999
```

## ghh

Listen for github webhook, just for push event. Run `make` after pull.

Install:

```shell
go get -u github.com/xandeer/go-tools/ghh
```

Usage:

```shell
# hs -d dir -p port -s secret -b branches
hs -s serect -d ~/tmp # default ./
hs -s serect -p 1234 # default 3001
hs -s serect -b master,dev # default master
```