Files
zitadel/internal/eventstore/repository/asset.go
T
Wim Van LaerandGitHub 9b064d8b74 docs: fixed some typos, formatting, grammar (#11540)
# Which Problems Are Solved

- Typos
- Punctuation
- Markdown table formatting
- ...

(A bunch of issues my editor gave)

# How the Problems Are Solved


# Additional Changes


# Additional Context
2026-02-13 07:45:17 +01:00

25 lines
424 B
Go

package repository
// Asset represents all information about an asset (img)
type Asset struct {
// ID is to refer to the asset
ID string
//Asset is the actual image
Asset []byte
//Action defines if asset should be added or removed
Action AssetAction
}
type AssetAction int32
const (
AssetAdded AssetAction = iota
AssetRemoved
assetCount
)
func (f AssetAction) Valid() bool {
return f >= 0 && f < assetCount
}