1
0
mirror of https://github.com/astaxie/beego.git synced 2025-01-22 11:07:14 +00:00
IamCathal 8982f5d702 Add unit tests for custom log formatter
Also moved is Colorful check to WriteMsg function to make the interface for user's using the custom logging formatting simpler. The user does not have to check if the text is colorful now, the WriteMsg function handles it.
2020-09-09 00:23:57 +01:00
2016-03-23 17:05:40 +08:00
2020-08-18 20:56:15 +08:00
2020-08-18 14:31:06 +00:00
2020-08-18 20:56:15 +08:00
2020-08-18 14:31:06 +00:00
2020-08-05 07:25:34 +00:00
2020-08-16 23:09:19 +08:00
2020-08-18 20:56:15 +08:00
2020-08-16 23:09:19 +08:00
2020-08-16 23:09:19 +08:00
2014-05-17 02:26:50 +08:00
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).

Description
beego mirror
Readme 9.4 MiB
Languages
Go 99.6%
Shell 0.4%