Skip to content

mukailasam/igo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Version License Go Report Card

Igo - Go Web Framework

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.

Background

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😂

Install

go get -u github.com/mukailasam/igo

Features

  • 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

Example Usage:

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")
}

Contributing

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.

About

igo.go is a simple and lightweight micro-framework for Go web-applications.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages