github.com/go-pg/pg/v10/internal/pool.Conn.UsedAt (method)

2 uses

	github.com/go-pg/pg/v10/internal/pool (current package)
		conn.go#L36: func (cn *Conn) UsedAt() time.Time {
		pool.go#L498: 	if p.opt.IdleTimeout > 0 && now.Sub(cn.UsedAt()) >= p.opt.IdleTimeout {