UUID is a helper function to convert UUID strings to pgtype.UUID instances. If the string cannot be converted, this function will panic.
(s string)
| 890 | // UUID is a helper function to convert UUID strings to pgtype.UUID instances. If the string |
| 891 | // cannot be converted, this function will panic. |
| 892 | func UUID(s string) (u pgtype.UUID) { |
| 893 | if err := u.Scan(s); err != nil { |
| 894 | panic(err) |
| 895 | } |
| 896 | return u |
| 897 | } |
| 898 | |
| 899 | // Connect replaces the Current connection with a new one, using the given username and password. If the username is |
| 900 | // empty, then the default connection is used. If the username and password match the existing connection, then no new |
no test coverage detected