Migrated repository
Go to file
2019-12-13 13:43:28 +08:00
.example improve tag and field retrieving feature for internal/structs; comment update for gdb 2019-12-12 23:38:46 +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 comment update for container 2019-11-30 18:33:51 +08:00
crypto add some Must* functions for gparser/gjson/gmd5/gsha1/gbase64 2019-12-12 11:40:23 +08:00
database improve prefix and word quote feature for gdb; merge develop 2019-12-12 23:54:07 +08:00
debug/gdebug add gdebug.BuildInfo function; improving gproc 2019-12-09 21:53:44 +08:00
encoding improve prefix and word quote feature for gdb; merge develop 2019-12-12 23:54:07 +08:00
errors/gerror improve gerror for stack information; fix issue in gconv.String for nil *time.Time type 2019-11-21 21:49:00 +08:00
frame improve tag and field retrieving feature for internal/structs; comment update for gdb 2019-12-12 23:38:46 +08:00
i18n/gi18n fix issue in template for ghttp.Server 2019-10-17 20:31:03 +08:00
internal improve tag and field retrieving feature for internal/structs; comment update for gdb 2019-12-12 23:38:46 +08:00
net fix data race issue in unit testing of gtcp 2019-12-13 13:43:28 +08:00
os improve prefix and word quote feature for gdb; merge develop 2019-12-12 23:54:07 +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 improve prefix and word quote feature for gdb; merge develop 2019-12-12 23:54:07 +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 change minimum go version from 1.10. to 1.11; travis ci updates 2019-12-04 17:50:03 +08:00
DONATOR.MD README/DONATOR update 2019-12-04 18:48:13 +08:00
go.mod change minimum go version from 1.10. to 1.11; travis ci updates 2019-12-04 17:50:03 +08:00
LICENSE remove reuseport in ghttp 2019-02-14 15:43:31 +08:00
README_ZH.MD README/DONATOR update 2019-12-04 18:48:13 +08:00
README.MD README/DONATOR update 2019-12-04 18:48:13 +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-12-05 12:34:33 +08:00
TODO.MD improve default instance name handling 2019-07-28 17:37:13 +08:00
version.go version updates 2019-12-05 19:46:50 +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.11

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