1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-21 12:50:56 +00:00
beego mirror
Go to file
Ming Deng 14c1b76569 remove pkg directory;
remove build directory;
remove githook directory;
2020-10-08 18:29:36 +08:00
.github Add stale.yml 2020-09-19 23:54:33 +08:00
adapter remove pkg directory; 2020-10-08 18:29:36 +08:00
client remove pkg directory; 2020-10-08 18:29:36 +08:00
core remove pkg directory; 2020-10-08 18:29:36 +08:00
scripts Add adapter script which is used to replace v1 package with v2 adapter package 2020-10-06 16:43:16 +08:00
server/web remove pkg directory; 2020-10-08 18:29:36 +08:00
task remove pkg directory; 2020-10-08 18:29:36 +08:00
test Refactor orm filter 2020-08-18 14:31:06 +00:00
.gitignore Fix UT 2020-08-05 07:25:34 +00:00
.travis.yml remove pkg directory; 2020-10-08 18:29:36 +08:00
build_info.go remove pkg directory; 2020-10-08 18:29:36 +08:00
CONTRIBUTING.md Merge pull request #4173 from AllenX2018/fix-bug-queryRow 2020-08-23 21:04:34 +08:00
doc.go remove pkg directory; 2020-10-08 18:29:36 +08:00
go.mod Support etcd 2020-08-29 00:07:33 +08:00
go.sum Support etcd 2020-08-29 00:07:33 +08:00
LICENSE update all files License 2014-05-17 02:26:50 +08:00
README.md update README.md 2020-07-10 09:58:06 +08:00

Beego Build Status GoDoc Foundation Go Report Card

beego is used for rapid development of RESTful APIs, web apps and backend services in Go. It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct embedding.

More info at beego.me.

Quick Start

Create hello directory, cd hello directory

mkdir hello
cd hello

Init module

go mod init

Download and install

go get github.com/astaxie/beego
package main

import "github.com/astaxie/beego"

func main(){
    beego.Run()
}

Build and run

go build hello.go
./hello

Go to http://localhost:8080

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

Please see Documentation for more.
beego-example

Features

  • RESTful support
  • MVC architecture
  • Modularity
  • Auto API documents
  • Annotation router
  • Namespace
  • Powerful development tools
  • Full stack for Web & API

Documentation

Community

License

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