-//-----------------------------------------------------------------------------
-//
-//-----------------------------------------------------------------------------
-type Action int
-
-func (act Action) String() string {
- actions := [...]string{
- "CREATE",
- "MERGE",
- "NONE",
- "DELETE",
- }
-
- if act < CREATE || act > DELETE {
- return "UNKNOWN"
- }
- return actions[act]
-}
-