Documentation
¶
Index ¶
- type Sqlite
- func (s *Sqlite) CreateStudent(name, email string, age int) (int64, error)
- func (s *Sqlite) DeleteStudentById(id int64) error
- func (s *Sqlite) GetListOfStudents() ([]types.Student, error)
- func (s *Sqlite) GetStudentById(id int64) (types.Student, error)
- func (s *Sqlite) UpdateStudent(id int64, name string, email string, age int) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sqlite ¶
implemeting interface
func (*Sqlite) CreateStudent ¶
struct is implementing the interface
func (*Sqlite) DeleteStudentById ¶
func (*Sqlite) GetListOfStudents ¶
function to handle get list of students
Click to show internal directories.
Click to hide internal directories.