8000 GitHub - Dahs81/github-wrapper-example: This is a simple wrapper project for getting the repo info from github.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Dahs81/github-wrapper-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Example Wrapper Project

This is just a simple example wrapper program written in Golang.

Includes:

  1. Docker

How to Run

docker run -it -p 8080:8080 -e GITHUB_TOKEN="<your-github-token>" dahs81/github-wrapper-example

OR

GITHUB_TOKEN="<your-github-token>" go run main.go

Then, in another terminal

curl http://localhost:8080/info

Things I Learned

  1. Embedding
  2. Github API (Basics)
  3. Returning http.HandlerFunc from my function

Things To DO

  1. Add Prometheus monitoring to app and docker-compose.yml file
  2. Testing
  3. Some CI build tool (Spinnaker, CircleCI, etc)

About

This is a simple wrapper project for getting the repo info from github.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0