bookshelf

command module
Version: v0.0.2-0...-faa8edb Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Unlicense Imports: 14 Imported by: 0

README

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

  • Find and send request ### Add book #1 in requests.http
  • Open http://localhost:2918

Embeded html

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

Test and Todo

  • No. YOLO!😆

License

Public domain

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL