https://github.com/windomz/songo
实现songo协议的Go库
https://github.com/windomz/songo
mongo songo url-parser
Last synced: 17 days ago
JSON representation
实现songo协议的Go库
- Host: GitHub
- URL: https://github.com/windomz/songo
- Owner: WindomZ
- License: mit
- Created: 2017-02-14T04:31:12.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-07T08:27:52.000Z (about 8 years ago)
- Last Synced: 2025-02-15T07:40:42.320Z (2 months ago)
- Topics: mongo, songo, url-parser
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# songo
[](https://travis-ci.org/WindomZ/songo)
[](https://opensource.org/licenses/MIT)实现songo协议的Go库
## Documents
[songo协议文档](https://github.com/suboat/songo/blob/master/desc.md)
## Features
- [ ] support MySQL
- [ ] support PostgreSQL
- [x] support MongoDB## [MySQL](https://github.com/WindomZ/songo/tree/master/mysql)

* 开发中...
## [PostgreSQL](https://github.com/WindomZ/songo/tree/master/postgre)

* 开发中...
## [MongoDB](https://github.com/WindomZ/songo/tree/master/mongo)

### Example
* 实例1URL地址:
```
http(s)://127.0.0.1/demo?_limit=50&_page=2
&_sort=created,money,-level
&year=$eq$2016&month=$bt$8,11&date=$eq$1&day=$in$0,6
```
对应JSON:
```
{
"limit":50,
"page":2,
"sort":[
"created",
"money",
"-level"
],
"year":"$eq$2016",
"month":"$bt$8,11",
"date":"$eq$1",
"day":"$in$0,6"
}
```## License
The [MIT License](https://github.com/WindomZ/songo/blob/master/LICENSE)