Navigate:
~$BEEGO0.0%

Beego: Web framework for Go applications

MVC framework for Go with integrated ORM and routing.

LIVE RANKINGS • 02:19 PM • STEADY
OVERALL
#417
42
BACKEND & APIS
#24
2
30 DAY RANKING TREND
ovr#417
·Backe#24
STARS
32.4K
FORKS
5.6K
7D STARS
+6
7D FORKS
-1
See Repo:
Share:

Learn more about Beego

Beego is a web framework written in Go that implements the MVC architectural pattern with support for RESTful API development. The framework includes built-in modules for ORM, session handling, logging, caching, configuration management, and HTTP utilities. It provides annotation-based routing, namespace support, and automatic API documentation generation. Common use cases include building enterprise web applications, RESTful APIs, and backend services in Go.

Beego

1

Batteries-Included Framework

Bundles ORM, session management, caching, logging, and configuration as core modules without external dependencies. Provides a cohesive stack for web and API development with unified patterns across all components.

2

Annotation-Based Routing

Define routes using annotations directly in controller code with namespace organization support. Eliminates separate configuration files and keeps routing logic colocated with handler implementation.

3

Automatic API Documentation

Generates API documentation directly from application code without manual maintenance. Keeps API specifications synchronized with implementation as code changes.


package main

import (
    "github.com/beego/beego/v2/server/web"
)

type MainController struct {
    web.Controller
}

func (c *MainController) Get() {
    c.Ctx.WriteString("Hello, Beego!")
}

func main() {
    web.Router("/", &MainController{})
    web.Run()
}


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers