Skip to content
/ beego Public
forked from beego/beego

beego is an open-source, high-performance web framework for the Go programming language.

License

Notifications You must be signed in to change notification settings

astaxie/beego

This branch is 862 commits behind beego/beego:develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 13, 2020
093f976 · Dec 13, 2020
Sep 19, 2020
Dec 13, 2020
Dec 1, 2020
Dec 13, 2020
Dec 13, 2020
Dec 13, 2020
Aug 18, 2020
Aug 5, 2020
Oct 8, 2020
Oct 8, 2020
May 16, 2014
Dec 13, 2020
Dec 12, 2020
Oct 8, 2020
Oct 13, 2020
Oct 13, 2020

Repository files navigation

Beego Build Status GoDoc Foundation Go Report Card

Beego is used for rapid development of enterprise application in Go, including RESTful APIs, web apps and backend services.

It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct embedding.

architecture

Beego is compos of four parts:

  1. Base modules: including log module, config module, governor module;
  2. Task: is used for running timed tasks or periodic tasks;
  3. Client: including ORM module, httplib module, cache module;
  4. Server: including web module. We will support gRPC in the future;

Quick Start

Officail website

Example

If you could not open official website, go to beedoc

Web Application

Http Request

Create hello directory, cd hello directory

mkdir hello
cd hello

Init module

go mod init

Download and install

go get github.com/astaxie/beego@v2.0.0

Create file hello.go

package main

import "github.com/astaxie/beego/server/web"

func main() {
	web.Run()
}

Build and run

go build hello.go
./hello

Congratulations! You've just built your first beego app.

Features

Modules

Community

License

beego source code is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

About

beego is an open-source, high-performance web framework for the Go programming language.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%