https://github.com/eagletmt/revision_plate-golang
Serve application's REVISION
https://github.com/eagletmt/revision_plate-golang
Last synced: over 1 year ago
JSON representation
Serve application's REVISION
- Host: GitHub
- URL: https://github.com/eagletmt/revision_plate-golang
- Owner: eagletmt
- License: mit
- Created: 2015-03-24T15:35:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-25T15:46:49.000Z (over 11 years ago)
- Last Synced: 2025-03-24T09:50:58.642Z (over 1 year ago)
- Language: Go
- Size: 141 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# revision_plate-golang
[](https://travis-ci.org/eagletmt/revision_plate-golang)
Serve application's REVISION.
Golang version of [revision_plate](https://github.com/sorah/revision_plate) .
## Usage
```go
import (
"net/http"
"github.com/eagletmt/revision_plate-golang"
)
func NewHandler() http.Handler {
mux := http.NewServeMux()
mux.Handle("/site/sha", revision_plate.New("REVISION"))
return mux
}
```