Full Mattermost server source with integrated Community Enterprise features. Includes vendor directory for offline/air-gapped builds. Structure: - enterprise-impl/: Enterprise feature implementations - enterprise-community/: Init files that register implementations - enterprise/: Bridge imports (community_imports.go) - vendor/: All dependencies for offline builds Build (online): go build ./cmd/mattermost Build (offline/air-gapped): go build -mod=vendor ./cmd/mattermost 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
28 lines
729 B
Go
28 lines
729 B
Go
// Code generated by "stringer -type=ImageFormat"; DO NOT EDIT.
|
|
|
|
package imagemeta
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[ImageFormatAuto-0]
|
|
_ = x[JPEG-1]
|
|
_ = x[TIFF-2]
|
|
_ = x[PNG-3]
|
|
_ = x[WebP-4]
|
|
}
|
|
|
|
const _ImageFormat_name = "ImageFormatAutoJPEGTIFFPNGWebP"
|
|
|
|
var _ImageFormat_index = [...]uint8{0, 15, 19, 23, 26, 30}
|
|
|
|
func (i ImageFormat) String() string {
|
|
if i < 0 || i >= ImageFormat(len(_ImageFormat_index)-1) {
|
|
return "ImageFormat(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _ImageFormat_name[_ImageFormat_index[i]:_ImageFormat_index[i+1]]
|
|
}
|