service

package
v0.0.0-...-b2170da Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClassService

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

func NewClassService

func NewClassService(classRepository ClassRepositoryInterface) *ClassService

func (ClassService) FindOrCreate

func (service ClassService) FindOrCreate(brainID int64, label string) (ClassInterface, error)

type TokenService

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

func NewTokenService

func NewTokenService(tokenRepository TokenRepositoryInterface) *TokenService

func (TokenService) FindOrCreate

func (service TokenService) FindOrCreate(brainID int64, text string) int64

Directories

Path Synopsis
result
This package contains data types for the training results representation.
This package contains data types for the training results representation.

Jump to

Keyboard shortcuts

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