https://github.com/spiderxm/item-crud-tool
https://github.com/spiderxm/item-crud-tool
golang gorm-orm
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/spiderxm/item-crud-tool
- Owner: spiderxm
- Created: 2021-02-11T10:22:11.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-20T14:56:06.000Z (over 5 years ago)
- Last Synced: 2025-04-11T21:44:15.512Z (over 1 year ago)
- Topics: golang, gorm-orm
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Items Crud functionality tool
## Made with [GoLang](https://golang.org) and [Gorm](https://gorm.io)
### Database used `sqlite3`
Various Functionality Provided for `Item` table.
Definition for `Item` table is as follows:
```go
type Item struct {
gorm.Model
Name string `json:"name"`
Description string `json:"description"`
Price float64 `json:"price"`
Quantity int64 `json:"quantity"`
}
```
Various Functionality provided are as follows:
##### `1.) Add Item`
##### `2.) Update Item`
##### `3.) Delete Item`
##### `4.) List all Items`
##### `5.) Retrieve Item`
##### `6.) Retrieve All Items in JSON format(in items.json file in same directory)`
Made by [Mrigank Anand](https://github.com/spiderxm)