modulepackage
0.0.0-20210818151040-728147ba4166
Repository: https://github.com/practice-golang/bookshelf.git
Documentation: pkg.go.dev
# README
Practice
golang 1.16 embed, doug-martin/goqu, cznic/sqlite CRUD
Build & Run
go get github.com/practice-golang/bookshelf
-> runbookshelf
ormake
->cd bin
-> runbookshelf
- Read/Write test :
requests.http
,requests-map.http
Preference file
- Once on
bookshelf
binary first run,bookshelf.ini
which contain db connection will be created
Database
- Default set in
bookshelf.ini
issqlite
- See
config/db.go
or generatedbookshelf.ini
sqlite
,mysql
,sqlserver
,postrges
Init sample data & Open the webpage
- Find and send request
### Add book #1
inrequests.http
- Open http://localhost:2918
Embeded html
index.html
- Usedvue.js
,sakura.css
Test and Todo
- No. YOLO!😆
License
Public domain