Documentation ¶
Index ¶
- func Append(slice []int, s int) []int
- func Contains(slice []int, s int) bool
- func ContainsString(list []string, s string) bool
- func DetectContentType(r io.Reader) string
- func Remove(slice []int, s int) []int
- func ResizeImage(file io.Reader, maxDimension int) (image.Image, error)
- func SaveImage(img image.Image, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
ContainsString returns true when s in slice.
func DetectContentType ¶
DetectContentType detects the ContentType from the first 512 bytes of the given io.Reader.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.