Skip to content
/ gotro Public

GotRo is a collection of libraries and a Golang web framework

License

Notifications You must be signed in to change notification settings

kokizzu/gotro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GotRo

GotRo is abbreviation of Gotong Royong. the meaning in Indonesia: "do it together", "mutual cooperation". This Framework is rewrite of gokil, that previously use fasthttp but now rewritten using fasthttprouter

Design Goal

  • As similar as possible to Elixir's Phoenix Framework
  • Opinionated (choose the best dependency), for example by default uses int64 and float64
  • 1-letter supporting package so we short common function, such as: I.ToS(1234) to convert int64 to string)
    • A - Array
    • B - Boolean
    • C - Character (or Rune)
    • D - Database
    • F - Floating Point
    • L - Logging
    • M - Map
    • I - Integer
    • S - String
    • T - Time (and Date)
    • W - Web (the "framework")
    • X - Anything (aka interface{})
    • Z - Z-Template Engine, that has syntax similar to ruby string interpolation #{foo} or any other that javascript friendly {/* foo */}, [/* bar */], /*! bar */
  • Comment and examples on each type and function, so it can be viewed using godoc, something like: godoc github.com/kokizzu/gotro/A

Usage

go get -u -v github.com/kokizzu/gotro

Dependencies

These dependencies automatically installed when you run go get

TODO