initdata

package
v0.0.0-...-b1298dc Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artist

type Artist struct {
	ID   int    `csv:"id"`
	Name string `csv:"name"`
}

type Initializer

type Initializer struct {
	// contains filtered or unexported fields
}

func NewInitializer

func NewInitializer(client *ent.Client) *Initializer

func (*Initializer) InitWithContext

func (in *Initializer) InitWithContext(ctx context.Context) error

type Song

type Song struct {
	ID           int    `csv:"id"`
	Title        string `csv:"title"`
	ReleasedYear int    `csv:"released_year"`
	ArtistID     int    `csv:"artist_id"`
}

Jump to

Keyboard shortcuts

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