usecase

package
v0.0.0-...-6e65144 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category struct {
	ID   int
	Name string
}

type Circle

type Circle struct {
	ID            int
	Name          string
	About         string
	CatchCopy     string
	Cost          *string
	Location      *string
	WorkTime      *string
	MembersNumber *string
	Description   string
	EyeCatch      string
	Twitter       string
	Email         string
	URL           string
	Images        []CircleImage
	Types         []CircleType
	Category      Category
	UpdatedAt     string
}

type CircleImage

type CircleImage struct {
	URL string `json:"url"`
}

type CircleList

type CircleList []Circle

func ParseCircles

func ParseCircles(circles []*model.Circle, categories []*model.Category, q string) (result CircleList)

type CircleType

type CircleType struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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