Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-pg/pg
/ connect
Function
connect
example_test.go:33–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
}
32
33
func
connect() *pg.DB {
34
return
pg.Connect(pgOptions())
35
}
36
37
func
panicIf(err error) {
38
if
err != nil {
Callers
9
ExampleDB_Model_manyToManySelf
Function · 0.85
ExampleDB_Model_manyToMany
Function · 0.85
ExampleDB_Model_compositeType
Function · 0.85
ExampleDB_Model_hasOne
Function · 0.85
ExampleDB_Model_belongsTo
Function · 0.85
ExampleDB_Model_hasMany
Function · 0.85
ExampleDB_Model_hasManySelf
Function · 0.85
init
Function · 0.85
ExampleDB_Model_customType
Function · 0.85
Calls
1
pgOptions
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…