Everipedia Logo
Everipedia is now IQ.wiki - Join the IQ Brainlist and our Discord for early access to editing on the new platform and to participate in the beta testing.
Beego(Go web framework)

Beego(Go web framework)

introduction

Beego [2]is an open source framework to build and develop your applications in the Go way.

Beego is a RESTful HTTP framework for the rapid development of Go applications including APIs, web apps and backend services with integrated Go specific features such as interfaces and struct embedding.

The architecture of Beego

Beego is built upon 8 loosely linked modules that can be used independently or as part of Beego’s HTTP logic.

This high level of modularity gives Beego an unprecedented level of flexibility to meet developer needs.

The execution logic of Beego

Beego uses a standard Model-View-Controller (MVC) architecture for logic execution.

The project structure of Beego

Here is the typical folder structure of a Beego project:

{ "index": 2, "tag_type": "pre", "attrs": {}, "items": [] }

M (models), V (views), C (controllers) each have top level folders.

main.go is the entry point.

Quick Start

Download and install

go get github.com/astaxie/beego

Create file hello.go

{ "index": 4, "tag_type": "pre", "attrs": {}, "items": [] }

Build and run

{ "index": 6, "tag_type": "pre", "attrs": {}, "items": [] }

References

[1]
Citation Linkywqaugeunhowzrcj.public.blob.vercel-storage.comthe architecture of beego
May 1, 2018, 5:12 AM
[2]
Citation Linkywqaugeunhowzrcj.public.blob.vercel-storage.com
The execution logic of Beego
May 1, 2018, 5:16 AM
[3]
Citation Linkbeego.mebeego offical site
May 1, 2018, 5:21 AM