Skip to content
/ devTools Public
forked from ChinaArJun/devTools

Golang开发者工具集合,快速实现mysql转struct、json转struct

License

Notifications You must be signed in to change notification settings

havoe/devTools

 
 

Repository files navigation

English | 中文

devTools - golang programmer's tool

The original intention of the tool is to minimize repetitive work

Effect preview

json to golang struct img mysql to golang struct img

What functions are there?

     r.GET("/base64", contoller.Base64, middleware.UsageCount)
r.GET("/image2base64", contoller.Image2Base64, middleware.UsageCount)
r.GET("/tinyimg", contoller.TinyImage, middleware.UsageCount)
r.GET("/hash", contoller.Hash, middleware.UsageCount)
r.GET("/file-hash", contoller.FileHash, middleware.UsageCount)
r.GET("/ip", contoller.IPInfo, middleware.UsageCount)
r.GET("/json", contoller.JSONView, middleware.UsageCount)
r.GET("/number", contoller.Number, middleware.UsageCount)
r.GET("/placeholder", contoller.Placeholder, middleware.UsageCount)
r.GET("/qrcode", contoller.QRCode, middleware.UsageCount)
r.GET("/regex", contoller.Regex, middleware.UsageCount)
r.GET("/timestamp", contoller.Timestamp, middleware.UsageCount)
r.GET("/color", contoller.Color, middleware.UsageCount)
r.GET("/aes", controller.AES, middleware.UsageCount)
r.GET("/des", controller.DES, middleware.UsageCount)
r.GET("/rsa", contoller.RSA, middleware.UsageCount)
r.GET("/morse", contoller.Morse, middleware.UsageCount)
r.GET("/url", contoller.URL, middleware.UsageCount)
r.GET("/unicode", contoller.Unicode, middleware.UsageCount)
r.GET("/json2go", contoller.JSON2GO, middleware.UsageCount)
r.GET("/json2xml", contoller.JSON2XML, middleware.UsageCount)
r.GET("/json2yaml", contoller.JSON2YAML, middleware.UsageCount)
r.GET("/pdf2img", contoller.PDF2IMG, middleware.UsageCount)

Pack

go build main.go command-line-arguments .\main.go:57:7: undefined: InitRouter

Compile 64-bit executable programs for Mac and Linux platforms under Windows:

  • $ SET CGO_ENABLED=0 SET GOOS=darwin3 SET GOARCH=amd64 go build main.go
  • $ SET CGO_ENABLED=0 SET GOOS=linux SET GOARCH=amd64 go build main.go
  • $ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build ./src/main.go

refer to

License

MIT

About

Golang开发者工具集合,快速实现mysql转struct、json转struct

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.9%
  • HTML 8.3%
  • CSS 4.4%
  • Go 4.4%