github.com/practice-golang/bookshelf

Practice golang 1.16 embed, doug-martin/goqu, cznic/sqlite CRUD


License
Unlicense
Install
go get github.com/practice-golang/bookshelf

Documentation

Practice

golang 1.16 embed, doug-martin/goqu, cznic/sqlite CRUD

Build & Run

  • go get github.com/practice-golang/bookshelf or
  • make -> cd bin -> run bookshelf
  • Read/Write test : requests.http

Preference file

  • Once on bookshelf binary first run, bookshelf.ini which contain db connection will be created

Database

  • Default set is sqlite
  • See consts/db.go or generated bookshelf.ini
    • sqlite, mysql, sqlserver, postrges

Init sample data & Open the webpage

Embeded html

  • index.html - Used vue.js, sakura.css

Test and Todo

  • No. YOLO!😆

License

Public domain