Navigate:
~$BEEGO0.0%

Beego: Web framework for Go applications

MVC framework for Go with integrated ORM and routing.

LIVE RANKINGS • 06:52 AM • STEADY
OVERALL
#249
12
BACKEND & APIS
#15
4
30 DAY RANKING TREND
ovr#249
·Backe#15
STARS
32.4K
FORKS
5.6K
DOWNLOADS
7D STARS
+3
7D FORKS
0
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.


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

vv2.3.8

Maintenance release with dependency updates and Windows file-handling fix; no breaking changes reported.

  • Update go-sqlite3 to 1.14.27 and go-redis to 9.5.5 for latest patches.
  • Windows users gain secure file opening via utils.OpenFileSecure replacing syscall.O_NOFOLLOW.
vv2.3.7

Patches file-open security issue on Windows by introducing utils.SecureOpen to handle missing O_NOFOLLOW support.

  • Use utils.SecureOpen for file operations on Windows to prevent symlink-following vulnerabilities.
  • No breaking changes; existing code continues to work but consider migrating file opens for hardened security.
vv2.3.6

Patches CVE-2021-27116 and CVE-2021-27117; fixes Oracle ORM column query mismatch causing runtime errors.

  • Update immediately to resolve two CVEs (CVE-2021-27116, CVE-2021-27117); release notes do not specify vulnerability details.
  • Oracle users: dbbase.GetColumns now correctly queries three columns, fixing destination argument mismatch crashes.


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers