# goee **Repository Path**: chensgspace/goee ## Basic Information - **Project Name**: goee - **Description**: Goee 是基于GO语言开发的web开发框架,参考和借鉴了Gin的设计思路。对Gin进行简化和优化调整,是一个更轻量更简洁高性能的web开发框架。 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Goee web framework Goee 是基于GO语言开发的web开发框架,参考和借鉴了Gin的设计思路。对Gin进行简化和优化调整,是一个更轻量更简洁高性能的web开发框架。 # Installation To install Goee package, you need to install Go and set your Go workspace first. The first need Go installed (version 1.13+ is required), then you can use the below Go command to install Goee. ```go $ go get -u github.com/deific/goee ``` Import it in your code: ```go import "github.com/deific/goee" ``` # Quick start ```go # assume the following codes in example.go file $ cat example.go ``` 示例 [goee-demo](https://github.com/deific/goee-demo) ```go package main import ( "github.com/deific/goee" "github.com/deific/goee/core" "log" "net/http" "time" ) // 启动入口 func main() { // 实例化 g := goee.Default() // 注册静态文件处理 g.Static("/static", "E:/temp/static") // 加载模板 g.LoadHtmlTemplate("templates/*") // 注册路由分组 v1 := g.Group("/v1") v1.GET("/hello", func(c *core.Context) { c.HTML(http.StatusOK, "