Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Postgres ¶
type Postgres interface { Ping(ctx context.Context) error AddUser(ctx context.Context, fullName string) (int, error) UserFullName(ctx context.Context, id int) (string, error) }
Postgres holds the methods for the package
Click to show internal directories.
Click to hide internal directories.