comparison

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadCSVFile

func DownloadCSVFile(ctx context.Context, models Comparison) error

DownloadCSVFile downloads the comparison csv file

Types

type Comparison

type Comparison struct {
	Models []ComparisonModel `json:"models"`
}

type ComparisonModel

type ComparisonModel struct {
	Name    string `json:"name"`
	Project string `json:"project"`
	Tag     string `json:"tag"`
}

type ORMBModelList

type ORMBModelList struct {
	ListMeta paging.ListMeta    `json:"metadata"`
	Items    []*ormbmodel.Model `json:"items"`
}

func Generator

func Generator(ctx context.Context, models Comparison, opt *paging.ListOption) (*ORMBModelList, error)

Generator list models' metadata and compare

Jump to

Keyboard shortcuts

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