31

GitHub - gogf/gf: GoFrame is a modular, loose-coupled, production-ready and most...

 4 years ago
source link: https://github.com/gogf/gf
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.MD

GoFrame

68747470733a2f2f676f6672616d652e6f72672f636f7665722e706e67

Go Doc Build Status Go Report Code Coverage Production Ready License

GF(GoFrame) is a modular, loose-coupled, production-ready and most-powerful 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, logger, template, https, hooks, rewrites 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

68747470733a2f2f676f6672616d652e6f72672f696d616765732f617263682e706e67

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

Donators


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK