Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryPreguntaRepository ¶
type InMemoryPreguntaRepository struct {
// contains filtered or unexported fields
}
func NewInMemoryPreguntaRepository ¶
func NewInMemoryPreguntaRepository() *InMemoryPreguntaRepository
type SQLitePreguntaRepository ¶
type SQLitePreguntaRepository struct {
// contains filtered or unexported fields
}
func NewSQLitePreguntaRepository ¶
func NewSQLitePreguntaRepository(dataSourceName string) (*SQLitePreguntaRepository, error)
func (*SQLitePreguntaRepository) FindAll ¶
func (r *SQLitePreguntaRepository) FindAll() ([]*domain.Pregunta, error)
Click to show internal directories.
Click to hide internal directories.