sqldb

package
v0.0.0-...-b99263a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QUERY_COURSE = "SELECT * FROM course"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CourseDataSql

type CourseDataSql struct {
	DB gdbc.SqlGdbc
}

CourseDataSql is the SQL implementation of CourseDatainterface

func (*CourseDataSql) FindAll

func (cds *CourseDataSql) FindAll() ([]model.Course, error)

func (*CourseDataSql) SetDB

func (cds *CourseDataSql) SetDB(gdbc gdbc.Gdbc)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL