course_service

package
v0.0.0-...-411a92d Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTest

func GetTest(c Courser) (s string)

Types

type Course

type Course struct {
	CourseID int64 `form:"courseId" json:"courseId" binding:"required,gte=0,lte=4"`
}

func (*Course) Get

func (c *Course) Get() (*models.Course, error)

type Courser

type Courser interface {
	Speek(word string) (s string)
}

type TestCourse

type TestCourse struct {
}

func (*TestCourse) Speek

func (t *TestCourse) Speek(word string) (s string)

Jump to

Keyboard shortcuts

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