Migrated repository
Go to file
2019-10-10 10:33:14 +08:00
.example fix issue in StrLimit for gstr 2019-10-10 00:04:38 +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 change params order of Insert* functions for glist; improve gstr.IsNumber 2019-10-01 16:35:44 +08:00
crypto update comments for package gaes/gdes; update function names for gdes 2019-09-11 23:22:15 +08:00
database improva container for json marshal/unmarshal interface 2019-10-01 16:03:18 +08:00
debug/gdebug improve gfile/gstr/ghttp 2019-09-23 16:21:19 +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 add Create function for gvar; add Uints/SliceUint function for gconv 2019-10-01 10:42:34 +08:00
i18n/gi18n improve example for gi18n 2019-09-15 13:47:44 +08:00
internal change params order of Insert* functions for glist; improve gstr.IsNumber 2019-10-01 16:35:44 +08:00
net add Get*Int32/Get*Int64/Get*Uint32/Get*Uint64 functions for ghttp.Request 2019-10-10 10:33:14 +08:00
os add separate put/delete functions for ghttp.Request 2019-10-01 09:06:35 +08:00
test/gtest add UnmarshalJSON for gtime; add ineterface MapStrAny support for gjson.New 2019-09-30 17:23:23 +08:00
text fix issue in StrLimit for gstr 2019-10-10 00:04:38 +08:00
util add Create function for gvar; add Uints/SliceUint function for gconv 2019-10-01 10:42:34 +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 fix issue in unit test case og grand 2019-09-23 23:24:36 +08:00
DONATOR.MD update ci/readme/donator 2019-09-23 23:08:58 +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 README update 2019-09-01 00:31:15 +08:00
README.MD update ci/readme/donator 2019-09-23 23:08:58 +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 updates 2019-10-01 17:54:29 +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 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