gf/README.MD
2019-01-02 21:43:17 +08:00

4.2 KiB

GoFrame

Go Doc Build Status Go Report Documents License Language Release

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

or use go.mod

require gitee.com/johng/gf latest

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()
}

View More..

License

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

Contributors(TOP 10)




Donators