domain

package
v1.0.3-mcd Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Library

type Library struct {
	gorm.Model     `json:"-"`
	ProjectID      uuid.UUID `gorm:"type:uuid;primary_key;" json:"projectId"`
	CommitHash     string    `gorm:"primary_key" json:"commit,omitempty"`
	Name           string    `json:"name,omitempty"`
	DownloadStatus string    `json:"downloadStatus"`
	Files          string    `json:"files,omitempty"`
}

Library represents a third party library from the dependency tree

func NewLibrary

func NewLibrary(projectID uuid.UUID, commitHash, name, status, files string) *Library

NewLibrary creates a Library

Jump to

Keyboard shortcuts

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