Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
squirrel
✓ github.com/Masterminds/squirrel
Build a SELECT query
package main
import (
"fmt"
"github.com/Masterminds/squirrel"
)
func main() {
query, args, _ := squirrel.Select("name", "age").From("users").Where(squirrel.Eq{"active": true}).ToSql()
fmt.Println(query, args)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.5.4latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.