Migrated repository
Go to file
2019-10-29 19:59:24 +08:00
.example add package intlog for GF internal logging usage; improve redis storage feature for gsession 2019-10-29 16:45:42 +08:00
.gitee issue template updates 2019-03-02 00:02:05 +08:00
.github update ci/readme/donator 2019-09-23 23:08:58 +08:00
container update comment for gqueue.Len 2019-10-25 17:32:03 +08:00
crypto improve status handling and add error logger for ghttp.Server; fix issue in defer error warpping for some packages 2019-10-11 22:54:25 +08:00
database add FieldsEx function for gdb.Model 2019-10-29 19:45:21 +08:00
debug/gdebug add package intlog for GF internal logging usage; improve redis storage feature for gsession 2019-10-29 16:45:42 +08:00
encoding remove UseNumber for json decoding in package gjson 2019-10-09 20:33:26 +08:00
errors/gerror remove unnecessary stack trace of gf for stack printing 2019-09-19 13:13:39 +08:00
frame improve configuration for gdb; add more unit test case for ghttp.Server 2019-10-15 21:20:38 +08:00
i18n/gi18n fix issue in template for ghttp.Server 2019-10-17 20:31:03 +08:00
internal improve internal/intlog 2019-10-29 17:15:02 +08:00
net add debug info for ghttp.Server 2019-10-29 19:59:24 +08:00
os add package intlog for GF internal logging usage; improve redis storage feature for gsession 2019-10-29 16:45:42 +08:00
test/gtest add UnmarshalJSON for gtime; add ineterface MapStrAny support for gjson.New 2019-09-30 17:23:23 +08:00
text improve gstr.SplitAndTrim 2019-10-22 13:57:21 +08:00
util Merge branch 'develop' of https://github.com/gogf/gf into develop 2019-10-26 11:03:17 +08:00
.gitattributes dev 2017-07-04 18:31:39 +08:00
.gitignore add AllowDomain option for ghttp.CORS; add IsSubDomain function for gstr; improve grand.Intn 2019-09-23 19:25:03 +08:00
.travis.yml add debug info for ghttp.Server 2019-10-29 19:59:24 +08:00
DONATOR.MD donator updates 2019-10-26 11:38:18 +08:00
go.mod fix issue in cors 2019-09-26 15:54:13 +08:00
LICENSE remove reuseport in ghttp 2019-02-14 15:43:31 +08:00
README_ZH.MD improve gdb; README update 2019-10-13 23:05:48 +08:00
README.MD improve gdb; README update 2019-10-13 23:05:48 +08:00
RELEASE.1.MD improve gfile.MainPkgPath; update RELEASE.MD 2019-09-14 00:17:49 +08:00
RELEASE.2.MD RELEASE updates 2019-09-23 22:00:04 +08:00
TODO.MD improve default instance name handling 2019-07-28 17:37:13 +08:00
version.go version update 2019-10-24 21:05:23 +08:00

GoFrame

Go Doc Build Status Go Report Code Coverage Production Ready License

English | 简体中文

GF(GoFrame) is a modular, full-featured and production-ready application development framework of golang. Providing a series of core components and dozens of practical modules, such as: memcache, configure, validator, logging, array/queue/set/map containers, timer/timing tasks, file/memory lock, object pool, database ORM, etc. Supporting web server integrated with router, cookie, session, middleware, logger, template, https, hooks, rewrites and many more features.

Installation

go get -u -v github.com/gogf/gf

suggested using go.mod:

require github.com/gogf/gf latest

Limitation

golang version >= 1.10

Documentation

Architecture

Quick Start

package main

import (
    "github.com/gogf/gf/frame/g"
    "github.com/gogf/gf/net/ghttp"
)

func main() {
    s := g.Server()
    s.BindHandler("/", func(r *ghttp.Request) {
        r.Response.Write("Hello World")
    })
    s.Run()
}

More Features...

License

GF is licensed under the MIT License, 100% free and open-source, forever.

Donators

We currently accept donation by Alipay/WechatPay, please note your github/gitee account in your payment bill. If you like GF, why not buy developer a cup of coffee?

Thanks

JetBrains