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>
36 lines
689 B
Go
36 lines
689 B
Go
// Code generated by "stringer -type=Source"; 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[EXIF-1]
|
|
_ = x[IPTC-2]
|
|
_ = x[XMP-4]
|
|
}
|
|
|
|
const (
|
|
_Source_name_0 = "EXIFIPTC"
|
|
_Source_name_1 = "XMP"
|
|
)
|
|
|
|
var (
|
|
_Source_index_0 = [...]uint8{0, 4, 8}
|
|
)
|
|
|
|
func (i Source) String() string {
|
|
switch {
|
|
case 1 <= i && i <= 2:
|
|
i -= 1
|
|
return _Source_name_0[_Source_index_0[i]:_Source_index_0[i+1]]
|
|
case i == 4:
|
|
return _Source_name_1
|
|
default:
|
|
return "Source(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
}
|