Migrated repository
Go to file
2020-01-04 15:35:21 +08:00
.example improve JSON/XML parsing feature for ghttp.Request 2020-01-04 15:35:21 +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 add Iterator* functions for garray; add ReplaceDir*/ReplaceFile* functions for gfile; remove gfile.Replace/ReplaceFunc functions 2019-12-25 20:56:39 +08:00
crypto add some Must* functions for gparser/gjson/gmd5/gsha1/gbase64 2019-12-12 11:40:23 +08:00
database improve gconv.Map/String 2020-01-03 20:23:10 +08:00
debug/gdebug add package gbuild 2019-12-14 17:01:27 +08:00
encoding improve JSON/XML parsing feature for ghttp.Request 2020-01-04 15:35:21 +08:00
errors/gerror fix issue 437 2019-12-25 21:22:06 +08:00
frame improve gdb/ghttp/gins; fix issue in gstr 2019-12-19 15:14:05 +08:00
i18n/gi18n fix issue in template for ghttp.Server 2019-10-17 20:31:03 +08:00
internal improve parameter parsing feature for ghttp.Request 2020-01-01 14:57:57 +08:00
net improve JSON/XML parsing feature for ghttp.Request 2020-01-04 15:35:21 +08:00
os add Timestamp*Str functions for gtime; improve unit testing cases for gfile 2020-01-02 21:29:06 +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 JSON/XML parsing feature for ghttp.Request 2020-01-04 15:35:21 +08:00
util improve JSON/XML parsing feature for ghttp.Request 2020-01-04 15:35:21 +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 donator updates 2020-01-01 15:24:10 +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; improve ghttp 2019-12-19 15:38:34 +08:00
README.MD README/DONATOR update; improve ghttp 2019-12-19 15:38:34 +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 README/DONATOR update; improve ghttp 2019-12-19 15:38:34 +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