Skip to content

antonybudianto/gitcard-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go GitHub

Requirements

Web mode

  1. Run

    go run cmd/web/web.go
  2. Open browser: http://localhost:8080/gh/profile/antonybudianto

GRPC mode

  1. Run

    go run cmd/grpc_server/server.go
  2. Try using GRPC client:

    go run cmd/grpc_client/client.go <github-username>
  3. Misc: Generate proto

    make gen-proto

CLI mode

  1. Run

    go run cmd/cli/cli.go <github-username>

Build for Operating System specific target

MacOS

$ make build-osx

Linux

$ make build-linux

License

MIT