Documentation
¶
Index ¶
- type Bean
- func (db *Bean) CreateBeans(ctx context.Context, beans *sql.Beans) (int, error)
- func (db *Bean) DeleteBeansById(ctx context.Context, id int) error
- func (db *Bean) GetAllBeans(ctx context.Context) ([]sql.Beans, error)
- func (db *Bean) GetBeansById(ctx context.Context, id int) (*sql.Beans, error)
- func (db *Bean) Ping(ctx context.Context) error
- func (db *Bean) UpdateBeansById(ctx context.Context, id int, beans *sql.Beans) (*sql.Beans, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bean ¶
type Bean struct {
// contains filtered or unexported fields
}
func (*Bean) CreateBeans ¶
func (*Bean) GetBeansById ¶
Click to show internal directories.
Click to hide internal directories.