Igo is a simple and lightweight micro web-framework for Go - inspired by Bottle.
It is distributed as a single file (igo.go) package and depends only on the Go standard library.
I built it because I wanted a Bottle-like microframework for my CodeLab - something personal, minimal, and easy to use for experimenting and creating small Go projects without setup overhead.
The name “Igo” comes from the Yoruba word “Ìgò”, which means “bottle.”
ma pa igo lo ri e😂
go get -u github.com/mukailasam/igo- Routing: Map HTTP requests to handler functions with dynamic URL support.
- Utilities: Easy access to URL parameters, form data, headers, and other HTTP features.
- Server: Built-in development server powered by Go’s
net/http.
Homepage and documentation: https://mukailasam.space/igo/docs/docs.html
package main
import (
"fmt"
"github.com/mukailasam/igo"
)
func main() {
app := igo.NewIgo()
app.GET("/<name>", func(ctx *igo.Context) {
name := ctx.GetParam("name")
ctx.Text(200, fmt.Sprintf("Hello, %s!", name))
})
app.Run(":1337")
}Contributions are welcome! To contribute:
-
Fork the repository
-
Create a new branch
-
Implement your feature or fix
-
Open a pull request
Make sure to follow Go’s code formatting and keep your commits clean and descriptive.