repository

package
v0.0.0-...-9058691 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageToByte

func ImageToByte(img string) []byte

func StreamToByte

func StreamToByte(stream io.Reader) []byte

Types

type ResourceRepository

type ResourceRepository interface {
	CreateResource(id, name string) (jsonData []byte, todo models.Resource)

	GetResource(jsonFile io.Reader) (temp models.Resource)

	GetResourcesList(jsonFiles []io.Reader) (temp models.ResourceList)
}

func NewResourceRepository

func NewResourceRepository() ResourceRepository

Jump to

Keyboard shortcuts

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