a_simple_go_project

command module
v0.0.0-...-041f4c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

README

project stats

Renjingneng's github stats

project description

A simple go web application based on Iris framework .

roadmap

  • 控制器的依赖注入功能深入
  • mongo数据库功能
  • redis集群功能
  • 发短信功能
  • 发邮件功能
  • 接口返回错误,统一代码号
  • 错误日志系统
  • 定时cron系统
  • 统一代码规范的文档
  • 并发功能优化

file structure

ren                         
├─ config    
├─ controller    
├─ core                     
│  ├─ config                                
│  └─ container   
│  └─ boot.go                                 
├─ data                      
│  ├─ mysql                              
│  └─ redis 
├─ lib                      
│  ├─ gophp                              
│  └─ httplib 
│  └─ log 
│  └─ spew 
│  └─ utility   
├─ log
├─ middleware 
├─ model  
├─ service           
├─ templates                
│  ├─ commons               
│  │  └─ message.html       
│  ├─ layouts               
│  │  └─ layout1.html       
│  └─ projects              
│     └─ project1           
│        ├─ index.html      
│        └─ login.html   
├─ .gitignore    
├─ build.sh                  
├─ go.mod                   
├─ go.sum                   
├─ main.go                  
└─ README.md

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
controller
data
lib
httplib
Package httplib is used as http.Client Usage: import "github.com/astaxie/beego/httplib" b := httplib.Post("http://beego.me/") b.Param("username","astaxie") b.Param("password","123456") b.PostFile("uploadfile1", "httplib.pdf") b.PostFile("uploadfile2", "httplib.txt") str, err := b.String() if err != nil { t.Fatal(err) } fmt.Println(str) more docs http://beego.me/docs/module/httplib.md
Package httplib is used as http.Client Usage: import "github.com/astaxie/beego/httplib" b := httplib.Post("http://beego.me/") b.Param("username","astaxie") b.Param("password","123456") b.PostFile("uploadfile1", "httplib.pdf") b.PostFile("uploadfile2", "httplib.txt") str, err := b.String() if err != nil { t.Fatal(err) } fmt.Println(str) more docs http://beego.me/docs/module/httplib.md
log
sensetime
@Description 对外提供方法 @Author renjingneng @CreateTime 2020/8/10 21:01
@Description 对外提供方法 @Author renjingneng @CreateTime 2020/8/10 21:01
spew
Package spew implements a deep pretty printer for Go data structures to aid in debugging.
Package spew implements a deep pretty printer for Go data structures to aid in debugging.
utility
@Description https://github.com/iancoleman/strcase @Author renjingneng @CreateTime 2020/8/15 19:37
@Description https://github.com/iancoleman/strcase @Author renjingneng @CreateTime 2020/8/15 19:37
@Description @Author renjingneng @CreateTime 2020/8/15 13:50
@Description @Author renjingneng @CreateTime 2020/8/15 13:50
identify
@Description @Author renjingneng @CreateTime 2020/8/13 21:20
@Description @Author renjingneng @CreateTime 2020/8/13 21:20

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL