Migrated repository
Go to file
2019-09-24 23:41:18 +08:00
.example improve example codes 2019-09-24 23:41:18 +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 improve gfile/gstr/ghttp 2019-09-23 16:21:19 +08:00
crypto update comments for package gaes/gdes; update function names for gdes 2019-09-11 23:22:15 +08:00
database improve example codes 2019-09-24 23:41:18 +08:00
debug/gdebug improve gfile/gstr/ghttp 2019-09-23 16:21:19 +08:00
encoding fix issue in gbase64/ghttp 2019-09-24 20:39:00 +08:00
errors/gerror remove unnecessary stack trace of gf for stack printing 2019-09-19 13:13:39 +08:00
frame improve example codes 2019-09-24 23:41:18 +08:00
i18n/gi18n improve example for gi18n 2019-09-15 13:47:44 +08:00
internal improve gcompress/gres for packing files 2019-09-03 23:18:54 +08:00
net add websocket unit test case for ghttp 2019-09-24 21:08:28 +08:00
os improve ghttp.Response; move gflock to new repo 2019-09-24 20:19:18 +08:00
test/gtest remove unnecessary stack trace of gf for stack printing 2019-09-19 13:13:39 +08:00
text add AllowDomain option for ghttp.CORS; add IsSubDomain function for gstr; improve grand.Intn 2019-09-23 19:25:03 +08:00
util fix issue in unit test case og grand 2019-09-23 23:24:36 +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 improve ghttp.Response; move gflock to new repo 2019-09-24 20:19:18 +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 improve gfile/gstr/ghttp 2019-09-23 16:21:19 +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