GF(GoFrame) is a modular, lightweight, loosely coupled, high performance application development framework written in Go. Supporting graceful server, hot updates, multi-domain, multi-port, multi-service, HTTP/HTTPS, dynamic/hook routing and many more features. Providing a series of core components and dozens of practical modules.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
g Fix issue of gjson package in map conversion Dec 9, 2018
geg Fix binary decoding issue of gbinary package. Dec 8, 2018
third third package updates Nov 7, 2018
.gitattributes dev Jul 4, 2017
.gitignore GF greets you. Dec 4, 2018
LICENSE GF greets you. Dec 4, 2018
README.MD README updates Nov 30, 2018
README_ZH.MD README updates Nov 30, 2018
RELEASE.MD GF greets you. Dec 4, 2018
TODO.MD GF greets you. Dec 4, 2018
go.mod GF greets you. Dec 4, 2018
version.go VERSION updates Dec 4, 2018

README.MD

GF(GoFrame) is a modular, lightweight, loosely coupled, high performance application development framework written in Go. Supporting graceful server, hot updates, multi-domain, multi-port, multi-service, HTTP/HTTPS, dynamic/hook routing and many more features. Providing a series of core components and dozens of practical modules.

Installation

go get -u gitee.com/johng/gf

Limitation

golang version >= 1.9.2

Documentation

Architecture

Quick Start

package main

import (
    "gitee.com/johng/gf/g"
    "gitee.com/johng/gf/g/net/ghttp"
)

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

License

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