package installation import ( plugin "simrs-vx/internal/use-case/simgos-sync-plugin/installation" ) // example of middleware func init() { createPreMw = append(createPreMw, createMw{Name: "create-installation", Func: plugin.Create}, ) createSimxLogMw = append(createSimxLogMw, createLogMw{Name: "create-log", Func: plugin.CreateLog}, ) updatePreMw = append(updatePreMw, updateMw{Name: "update-installation", Func: plugin.Update}) deletePreMw = append(deletePreMw, deleteMw{Name: "delete-installation", Func: plugin.Delete}) }