Documentation ¶
Index ¶
- func NewPostgresDB(server string) (*sql.DB, error)
- func NewSqlite3DB(file string) (*sql.DB, error)
- type GruppenProvider
- type LiedProvider
- func (p *LiedProvider) Create(l *gj.Lied) error
- func (p *LiedProvider) Delete(id int) error
- func (p *LiedProvider) Edit(l *gj.Lied) error
- func (p *LiedProvider) Get(id int) (*gj.Lied, error)
- func (p *LiedProvider) GetAll() ([]*gj.Lied, error)
- func (p *LiedProvider) Search(q string) ([]*gj.Lied, error)
- type PersonProvider
- func (s *PersonProvider) Create(p *gj.Person) error
- func (s *PersonProvider) Delete(id int) error
- func (s *PersonProvider) Edit(p *gj.Person) error
- func (s *PersonProvider) Get(id int) (*gj.Person, error)
- func (s *PersonProvider) GetAll() ([]*gj.Person, error)
- func (s *PersonProvider) Search(q string) ([]*gj.Person, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GruppenProvider ¶
func (*GruppenProvider) Delete ¶
func (g *GruppenProvider) Delete(id int) error
type LiedProvider ¶
func (*LiedProvider) Delete ¶
func (p *LiedProvider) Delete(id int) error
type PersonProvider ¶
func (*PersonProvider) Delete ¶
func (s *PersonProvider) Delete(id int) error
Click to show internal directories.
Click to hide internal directories.