Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattn/ways2go
2 Way SQL implementation for golang
https://github.com/mattn/ways2go
2way-sql go golang sql
Last synced: 21 days 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T04:29:01.000Z (over 7 years ago)
- Last Synced: 2024-10-08T02:21:42.469Z (about 1 month 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
[![Build Status](https://travis-ci.org/mattn/ways2go.png?branch=master)](https://travis-ci.org/mattn/ways2go)
[![GoDoc](https://godoc.org/github.com/mattn/ways2go?status.svg)](http://godoc.org/github.com/mattn/ways2go)
[![Go Report Card](https://goreportcard.com/badge/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)