https://github.com/mattn/ways2go
2 Way SQL implementation for golang
https://github.com/mattn/ways2go
2way-sql go golang sql
Last synced: about 2 months ago
JSON representation
2 Way SQL implementation for golang
- Host: GitHub
- URL: https://github.com/mattn/ways2go
- Owner: mattn
- License: mit
- Created: 2017-07-13T10:38:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T04:29:01.000Z (almost 8 years ago)
- Last Synced: 2024-10-29T07:21:01.747Z (7 months ago)
- Topics: 2way-sql, go, golang, sql
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ways2go
2 Way SQL implementation for golang
[](https://travis-ci.org/mattn/ways2go)
[](http://godoc.org/github.com/mattn/ways2go)
[](https://goreportcard.com/report/github.com/mattn/ways2go)# Usage
```go
got, err := Eval(`
select * from foo where id = /*id*/5 /* IF enabled */and bar = /*bar*/ /*END*/
`, map[string]{"enabled": true}, ways2go.Question)
```# License
MIT
# Author
Yasuhiro Matsumoto (a.k.a. mattn)