model

package
v0.0.0-...-23b1354 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package model represents model data for Ozon Code Platform Presentation API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentType

type ContentType uint32
const (
	TypeDocument ContentType = iota
	TypeVideo
	TypeQuestion
	TypeTask
)

func (ContentType) String

func (contentType ContentType) String() string

type Slide

type Slide struct {
	ID             uint64      `db:"id"`
	PresentationID uint64      `db:"presentation_id"`
	Number         uint64      `db:"number"`
	Type           ContentType `db:"type"`
}

Slide represents the connection between a presentation and a content

func (*Slide) String

func (slide *Slide) String() string

Jump to

Keyboard shortcuts

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