Skip to content

A simple way of creating efficient HTTP APIs in golang using conventions over configuration.

License

Notifications You must be signed in to change notification settings

pkkummermo/govalin

Repository files navigation

govalin

Unit tests

A simple way of creating efficient HTTP APIs in golang using conventions over configuration.

Installation

To install govalin run:

go get -u github.com/pkkummermo/govalin

Hello World

func main() {
	govalin.New().
		Get("/test", func(call *govalin.Call) {
			call.Text("Hello world")
		}).
		Start(7070)
}

Motivation

I love how fast and efficient go is. What I don't like, is how it doesn't create an easy way of creating HTTP APIs. Govalin focuses on pleasing those who want to create APIs without too much hassle, with a lean simple API.

Inspired by simple libraries and frameworks such as Javalin, I wanted to see if we could port the simplicity to golang.

About

A simple way of creating efficient HTTP APIs in golang using conventions over configuration.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages