Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo application in Go with a server and CLI #1

Merged
merged 5 commits into from
Jul 11, 2021
Merged

Conversation

mugdha-adhav
Copy link
Contributor

Summary

  • Adding Makefile
  • Adding gitignore file
  • Adding go mod files
  • CLI application using Cobra library
  • Minimal web server using net/http packag net/http package
  • Logging for Go application using uber/zap library

* Adding Makefile
* Adding gitignore file
* Adding go mod files
* CLI application using Cobra library
* Minimal web server using net/http packag net/http package
* Logging for Go application using uber/zap library
@mugdha-adhav mugdha-adhav self-assigned this Jul 10, 2021
go.mod Outdated Show resolved Hide resolved
server/server.go Outdated Show resolved Hide resolved
cli/cmd/health.go Outdated Show resolved Hide resolved
Write []byte to the ResponseWritter instead of json marshalling
Unmarshal server response in a struct in CLI
Copy link

@mbtamuli mbtamuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

@mugdha-adhav mugdha-adhav merged commit e6a09d9 into main Jul 11, 2021
@mugdha-adhav mugdha-adhav deleted the basic-web-server branch July 11, 2021 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants