Migrated repository
Go to file
2019-11-07 20:56:17 +08:00
.example improve session of file storage for ghttp.Server 2019-11-07 20:36:33 +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 configuration feature, add instance feature for package glog; add package guuid for UUID feature 2019-11-06 20:22:20 +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 improve multipart form parsing for ghttp.Server 2019-11-06 15:37:29 +08:00
debug/gdebug improve performance of gdebug 2019-10-30 15:12:19 +08:00
encoding add EncodeFile/EncodeFileToString functions for gbase64 2019-10-31 14:42:01 +08:00
errors/gerror remove unnecessary stack trace of gf for stack printing 2019-09-19 13:13:39 +08:00
frame improve configuration feature for glog/ghttp.Server 2019-11-07 11:32:25 +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 improve session of file storage for ghttp.Server 2019-11-07 20:42:13 +08:00
os add build-in function 'replace' for gview 2019-11-07 20:56:17 +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 configuration feature for glog/ghttp.Server 2019-11-07 11:32:25 +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 travis updates 2019-10-29 20:02:28 +08:00
DONATOR.MD donator updates 2019-10-26 11:38:18 +08:00
go.mod improve configuration feature, add instance feature for package glog; add package guuid for UUID feature 2019-11-06 20:22:20 +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