repositoryadapter

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoFileScan = errors.New("no file scan")

Functions

func Init

func Init(db *gorm.DB, tables *Tables) error

Init initializes the database and sets up the necessary adapters.

func NewFileScanAdapter

func NewFileScanAdapter() *fileScanAdapter

ComputilityOrgAdapter returns the instance of the computilityOrgAdapter.

Types

type Tables

type Tables struct {
	FileScan      string `json:"file_scan"                 required:"true"`
	LargeFileScan string `json:"large_file_scan"           required:"true"`
}

Tables is a struct that represents tables of computility.

Jump to

Keyboard shortcuts

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