Migrated repository
Go to file
2020-11-04 20:04:54 +08:00
.example improve package gi18n 2020-10-25 17:33:14 +08:00
.gitee issue template updates 2019-03-02 00:02:05 +08:00
.github update ci/readme/donator 2019-09-23 23:08:58 +08:00
container add function String for package gmap 2020-09-02 19:53:58 +08:00
crypto improve unit testing cases 2020-03-19 22:56:12 +08:00
database improve word quoting for function FieldsEx 2020-11-04 19:53:50 +08:00
debug/gdebug remove type ValueFunc from package gcache 2020-10-09 23:36:39 +08:00
encoding improve gconv.StructDeep 2020-10-25 10:47:47 +08:00
errors/gerror improve package gerror 2020-10-18 20:18:55 +08:00
frame add function gutil.Try/g.Try;improve error string for gconv.Struct 2020-10-20 13:36:43 +08:00
i18n/gi18n fix issue in unit testing case for package gi18n 2020-10-26 19:00:11 +08:00
internal improve package internal/structs 2020-10-30 22:04:34 +08:00
net improve urlencoding handling for parameters posted along with file uploading 2020-10-26 20:21:09 +08:00
os fix issue in embeded struct validation for package gvalid 2020-11-04 20:04:54 +08:00
test/gtest add unit testing case for auto time and soft deleting features for package gdb 2020-04-09 22:48:21 +08:00
text improve function addWordBoundariesToNumbers for package gstr 2020-10-10 13:38:28 +08:00
util fix issue in embeded struct validation for package gvalid 2020-11-04 20:04:54 +08:00
.gitattributes dev 2017-07-04 18:31:39 +08:00
.gitignore Fix typo in gitignore 2020-06-22 09:41:02 +08:00
.travis.yml travis ci update 2020-08-22 00:21:24 +08:00
DONATOR.MD donator updates 2020-10-29 21:11:52 +08:00
go.mod upgrade fsnotify to v1.4.9 2020-10-15 20:14:35 +08:00
LICENSE remove reuseport in ghttp 2019-02-14 15:43:31 +08:00
README_ZH.MD README updates 2020-08-19 21:10:40 +08:00
README.MD README updates 2020-08-13 18:59:13 +08:00
RELEASE.1.MD improve gfile.MainPkgPath; update RELEASE.MD 2019-09-14 00:17:49 +08:00
RELEASE.2.MD donator updates 2020-10-28 23:34:19 +08:00
TODO.Deprecated.MD README updates 2020-03-29 20:23:10 +08:00
version.go fix issue 2020-10-27 10:41:18 +08:00

GoFrame

Go Doc Build Status Go Report Code Coverage Production Ready License

English | 简体中文

GF(GoFrame) is a modular, powerful, high-performance and production-ready application development framework of golang. Providing a series of core components and dozens of practical modules, such as: cache, logging, containers, timer, resource, validator, database orm, etc. Supporting web server integrated with router, cookie, session, middleware, logger, configure, template, https, hooks, rewrites and many more features.

If you're a newbie to Go, you may consider GoFrame easy and great as Laravel in PHP, SpringBoot in Java or Django in Python.

Installation

go get -u -v github.com/gogf/gf

suggested using go.mod:

require github.com/gogf/gf latest

Limitation

golang version >= 1.11

Architecture

Packages

  1. Primary Package

    The gf repository maintains some basic and most commonly used packages, keeping it as lightweight and simple as possible.

  2. Community Package

    The community packages are contributed and maintained by community members, which are hosted in gogf organization. Some of the community packages are separated from the gf repository, which are not of common usage or are with heavy dependencies.

Performance

Here's the most popular Golang frameworks and libraries performance testing result in WEB Server. Performance testing cases source codes are hosted at: https://github.com/gogf/gf-performance

Environment

OS   : Ubuntu 18.04 amd64
CPU  : AMD A8-6600K x 4
MEM  : 32GB
GO   : v1.13.4

Testing Tool

ab: Apache HTTP server benchmarking tool.

Command:

ab -t 10 -c 100 http://127.0.0.1:3000/hello
ab -t 10 -c 100 http://127.0.0.1:3000/query?id=10000
ab -t 10 -c 100 http://127.0.0.1:3000/json

The concurrency starts from 100 to 10000.

Run 5 times for each case of each project and pick up the best testing result.

1. Hello World

Throughputs Mean Latency P99 Latency

2. Json Response

Throughputs Mean Latency P99 Latency

Documentation

Discussion

It's recommended learning GoFrame through its awesome source codes and API reference.

License

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

Part Of Users

We list part of the users here, if your company or products are using GoFrame, please let us know here.

Contributors

This project exists thanks to all the people who contribute. [Contributors].

Donators

We currently accept donation by Alipay/WechatPay, please note your github/gitee account in your payment bill. If you like GF, why not buy developer a cup of coffee?

Sponsors

We appreciate any kind of sponsorship for GF development. If you've got some interesting, please contact WeChat 389961817 / Email john@goframe.org.

Thanks

JetBrains