func github.com/lib/pq.Array
25 uses
github.com/lib/pq (current package)
array.go#L29: func Array(a interface{}) interface {
golang.org/x/pkgsite/internal/database
database.go#L471: args = append(args, pq.Array(vs[left:right]))
reflect.go#L75: p = pq.Array(p)
golang.org/x/pkgsite/internal/postgres
delete.go#L30: modulePath, pq.Array(versions))
insert_module.go#L280: makeValidUnicode(string(l.Contents)), pq.Array(l.Types), covJSON,
insert_module.go#L379: pq.Array(licenseTypes),
insert_module.go#L380: pq.Array(licensePaths),
insert_module.go#L563: if err := db.RunQuery(ctx, q, collect, pq.Array(unitIDs)); err != nil {
licenses.go#L115: if err := rows.Scan(pq.Array(&licenseTypes), &lic.FilePath, &lic.Contents, &covBytes); err != nil {
package_symbol.go#L177: pq.Array(&buildContexts),
package_symbol.go#L182: values = append(values, packagePathID, symbolNameID, pq.Array(buildContexts), tokens)
path.go#L130: collect, pq.Array(paths)); err != nil {
search.go#L390: &r.NumImportedBy, pq.Array(&syms), &r.NumResults); err != nil {
search.go#L473: if err := rows.Scan(&path, &name, database.NullIsEmpty(&synopsis), pq.Array(&licenseTypes), &redist); err != nil {
symbol.go#L127: WHERE documentation_id = ANY($1);`, collect, pq.Array(documentationIDs)); err != nil {
symbol.go#L235: WHERE module_path_id = $1 AND s.name = ANY($2);`, collect, modulePathID, pq.Array(names)); err != nil {
symbol.go#L334: if err := db.RunQuery(ctx, query, collect, pq.Array(names)); err != nil {
unit.go#L106: pq.Array(&licenseTypes),
unit.go#L107: pq.Array(&licensePaths))
unit.go#L390: pq.Array(&licenseTypes),
unit.go#L391: pq.Array(&licensePaths),
unit.go#L614: if err := rows.Scan(&p.id, &p.path, &p.moduleID, &p.name, pq.Array(&p.licenseTypes),
unit.go#L615: pq.Array(&p.licensePaths), &p.redistributable); err != nil {
version.go#L356: `, collect, pq.Array(modulePaths))
version_map.go#L118: Where("module_path = ANY(?)", pq.Array(paths)).
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |