hatecomputers.club/adapters/files/files_adapter.go

10 lines
181 B
Go

package files
import "io"
type FilesAdapter interface {
CreateFile(path string, content io.Reader) (string, error)
FileExists(path string) bool
DeleteFile(path string) error
}