Migrated repository
Go to file
2019-03-03 00:31:16 +08:00
.gitee issue template updates 2019-03-02 00:02:05 +08:00
.github issue template updates 2019-03-02 00:02:05 +08:00
g travis updates 2019-03-03 00:31:16 +08:00
geg update CORS feature of ghttp.Response; add more unit cases for ghttp.Server 2019-03-01 23:45:55 +08:00
third remove sarama-cluster 2019-02-14 19:30:58 +08:00
.gitattributes dev 2017-07-04 18:31:39 +08:00
.gitignore GF greets you. 2018-12-04 20:28:06 +08:00
.travis.yml travis updates 2019-03-03 00:31:16 +08:00
go.mod change gitee.com/johng/gf -> github.com/gogf/gf 2019-02-02 16:18:25 +08:00
LICENSE remove reuseport in ghttp 2019-02-14 15:43:31 +08:00
README_ZH.MD add donate for gitee 2019-02-26 23:39:09 +08:00
README.MD README updates 2019-02-18 09:25:05 +08:00
RELEASE.MD release updates 2019-02-28 10:28:09 +08:00
TODO.MD gdb updates 2019-03-03 00:14:20 +08:00
version.go version and comment updates 2019-02-27 22:17:09 +08:00

GoFrame

Go Doc Build Status Go Report Documents License Language Release

GF(GoFrame) is a modular, loose-coupled and production-ready application development framework written in Go. Providing a series of core components and dozens of practical modules, such as: cache, logging, array/queue/set/map, timer/timing tasks, file/memory lock, object pool, validator, database ORM, etc. Supporting web server with graceful server, hot updates, multi-domain, multi-port, multi-service, HTTP/HTTPS, dynamic/hook routing, rewrite rules and many more features.

Installation

go get -u github.com/gogf/gf

or use go.mod:

require github.com/gogf/gf latest

Limitation

golang version >= 1.9.2

Documentation

Architecture

Quick Start

package main

import (
    "github.com/gogf/gf/g"
    "github.com/gogf/gf/g/net/ghttp"
)

func main() {
    s := g.Server()
    s.BindHandler("/", func(r *ghttp.Request) {
        r.Response.Write("Hello World")
    })
    s.Run()
}

View More..

License

GF is licensed under the MIT License, 100% free and open-source, forever.

Contributors(TOP 10)




Donators