GitHub 火線榜

GitHub 火線榜 · 倉庫檔案

gogf/gf

A powerful framework for faster, easier, and more efficient project development. (簡介來自倉庫自身文件。)

資料截至 October 27gogf

最好成績

#333

總榜 · Go 语言

13K

累計 Star

1.7K

Fork 總數

0

近 30 天在榜天數

專案狀態授權條款: MIT最近 push: October 26Open Issues(含 PR): 139

自 2026-10-25 起採集;未知 = 尚未採集到

把上榜徽章放進你的 README · gogf/gf[![把上榜徽章放進你的 README](https://git.vaiox.xyz/api/badge/gogf/gf.svg)](https://git.vaiox.xyz/zh-TW/repo/gogf/gf)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/zh-TW/repo/gogf/gf"><img src="https://git.vaiox.xyz/api/badge/gogf/gf.svg" alt="把上榜徽章放進你的 README" height="20"></a>

專案文件

English | 简体中文

goframe logo

Go Reference GoFrame CI Code Coverage Production Ready License Ask DeepWiki

Release GitHub pull requests GitHub closed pull requests GitHub issues GitHub closed issues Stars Forks

GoFrame is a powerful framework for faster, easier, and more efficient project development. Use it as a full application framework, or pick individual components as needed.

Installation

GoFrame requires Go 1.23 or later.

In an existing module, add the framework:

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

Install the gf CLI:

go install github.com/gogf/gf/cmd/gf/v2@latest

Usage

Create main.go:

package main

import (
	"github.com/gogf/gf/v2/frame/g"
	"github.com/gogf/gf/v2/net/ghttp"
)

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

Run it:

go mod init hello
go mod tidy
go run main.go

Open http://127.0.0.1:8000.

To scaffold a project with the gf CLI:

gf init hello
cd hello && gf run main.go

Documentation

Contributors

💖 Thanks to all the contributors who made GoFrame possible 💖

goframe contributors

License

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

當前上榜

  • 333

    總榜 · 史上最強 · Go

    13K 星 · 1.7K fork · 累計星星

    總榜 · Go →

近 30 天勢頭

近 30 天沒有上榜紀錄。

同類專案 · 共享主題

← 回到榜單

GitHub 火線榜往日榜Discover