Help us shape the future of Go! Take the 2026 Go Developer Survey

file

package
v1.3.245 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileTypeCounter

func GetFileTypeCounter(fileObject *entity.FileObject, namespace oss.Namespace) *file.File

func GetFileTypeCounterWithCDN

func GetFileTypeCounterWithCDN(fileObject *entity.FileObject, namespace oss.Namespace, cdn CDNInterface) *file.File

func GetFileTypeID

func GetFileTypeID(fileEntity *entity.FileEntity, namespace oss.Namespace) *file.File

Types

type CDNInterface

type CDNInterface interface {
	GetImageURLWithTemplate(image string) string
}

Jump to

Keyboard shortcuts

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