# gweb **Repository Path**: tudo/gweb ## Basic Information - **Project Name**: gweb - **Description**: 一个非常简陋的web 框架(学习框架) - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-09-05 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #gweb 一个简陋的go Web开发框架(学习作品)! **特点:** - 没有依赖任何第三方,除了Sql driver - 只是简单的对原生的http 进行了简单封装 - 中文注释详细,小学生水平代码,不饶,易读,非常适合golang新手学习 **usage:** ``` package main import ( "gweb" "fmt" "io" ) func main() { g := gweb.New() g.Get("/hello", func(ctx *gweb.Context) error { io.WriteString(ctx.W, "hello world") return nil }) fmt.Println(g.Run()) } ```