model

package
v0.0.0-...-5750ac0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValidTime

type ValidTime struct {
	Input []int `json:"input"`
}

type ValidTimeRepository

type ValidTimeRepository interface {
	Permutation(t ValidTime) ([]string, error)
}

type ValidTimeResponse

type ValidTimeResponse struct {
	List  []string `json:"list"`
	Count int      `json:"count"`
}

type ValidTimeUseCase

type ValidTimeUseCase interface {
	ListAvailable(ctx *gin.Context, time ValidTime) (ValidTimeResponse, error)
}

type WordCount

type WordCount struct {
	Word  string `json:"word"`
	Count int    `json:"count"`
}

type WordCountRepository

type WordCountRepository interface {
	CountWord(filename string) ([]WordCount, error)
}

type WordCountUseCase

type WordCountUseCase interface {
	ProcessFile(file *multipart.FileHeader, ctx *gin.Context) ([]WordCount, error)
}

Jump to

Keyboard shortcuts

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