1
0
mirror of https://github.com/astaxie/beego.git synced 2025-01-22 12:57:13 +00:00
MinJie Gu 2da894d4a7
When log maxSize set big int,FileWrite Init fail
example:
beego.SetLogger("multifile", {"filename":"logs/liverelay.log","separate":[ "emergency", "error", "info", "debug"],"maxsize":250000000}).

json: cannot unmarshal number 2.5e+08 into Go value of type int

The err should return and show the developer.
2018-04-06 00:50:35 +08:00
2016-03-23 17:05:40 +08:00
2017-12-26 11:48:34 +01:00
2017-07-04 11:03:49 +08:00
2017-12-21 13:50:28 +05:30
2017-11-25 19:18:37 +02:00
2017-10-05 14:34:52 -05:00
2018-03-10 17:15:24 +08:00
2015-09-12 23:19:18 +08:00
2017-04-20 10:56:09 +08:00
2018-02-02 10:22:43 +01:00
2016-12-29 22:30:56 +01:00
2017-03-17 20:22:20 +02:00
2017-11-27 15:42:18 +08:00
2017-07-12 09:51:37 -05:00
2016-09-13 22:43:40 +08:00
2017-12-08 23:01:21 +08:00
2017-11-27 15:52:31 +08:00
2016-06-01 19:57:08 +08:00
2016-01-13 22:02:36 +08:00
2017-04-20 10:56:09 +08:00
2017-07-19 00:52:27 +08:00
2016-01-17 23:48:17 +08:00
2017-07-19 00:37:42 +08:00
2016-03-25 10:31:48 +08:00
2017-03-17 20:22:20 +02:00
2016-01-15 14:07:37 +08:00
2014-05-17 02:26:50 +08:00
2016-03-25 15:04:52 +08:00
2016-08-17 22:56:21 +08:00
2017-03-17 20:22:20 +02:00
2017-04-23 19:19:05 +02:00
2017-10-11 14:35:31 +08:00
2017-04-29 09:13:28 +08:00
2017-11-25 19:23:46 +02:00
2017-04-23 19:19:05 +02:00
2017-12-13 15:27:32 +02:00
2016-02-12 11:36:59 +08:00
2017-04-23 19:19:05 +02:00
2017-04-29 09:13:28 +08:00
2017-11-25 19:18:37 +02:00
2017-04-28 22:36:28 +08:00
2017-03-10 09:28:25 +08:00
2017-08-03 19:15:32 +08:00
2017-11-25 19:18:37 +02: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

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.

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%