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,…
Branch: master
Clone or download
Latest commit 3dd8b6a Feb 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
g fix issue in gcron, allow special char '?' for day and week pattern Feb 20, 2019
geg fix issue in gcron, allow special char '?' for day and week pattern Feb 20, 2019
third remove sarama-cluster Feb 14, 2019
.gitattributes dev Jul 4, 2017
.gitignore
.travis.yml
LICENSE remove reuseport in ghttp Feb 14, 2019
README.MD README updates Feb 18, 2019
README_ZH.MD
RELEASE.MD change gitee.com/johng/gf -> github.com/gogf/gf Feb 2, 2019
TODO.MD gtest updates; TODO++ Feb 15, 2019
go.mod change gitee.com/johng/gf -> github.com/gogf/gf Feb 2, 2019
version.go version updates Feb 20, 2019

README.MD

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