func RegisterModelController(c ModelController) {
	mType := c.Type()
	if _, ok := modelControllers[mType]; ok {
		panic("A controller for '" + mType + "' is already registered")
	}
	modelControllers[mType] = c
	modelControllerTypes = append(modelControllerTypes, mType)
}
// RegisterModelController registers a model controller for use in the app.
// The passed controller's Type() must return a unique value.
RegisterModelController registers a model controller for use in the app.
The passed controller's Type() must return a unique value.
// RegisterModelController registers a model controller for use in the app . // The passed controller ' s Type () must return a unique value .
func RegisterModelController(c ModelController) {
	mType := c.Type()
	if _, ok := modelControllers[mType]; ok {
		panic("A controller for '" + mType + "' is already registered")
	}
	modelControllers[mType] = c
	modelControllerTypes = append(modelControllerTypes, mType)
}
func RegisterModelController ( c ModelController ) { mType := c . Type ( ) if _ , ok := modelControllers [ mType ] ; ok { panic ( " " + mType + " " ) } modelControllers [ mType ] = c modelControllerTypes = append ( modelControllerTypes , mType ) }
RegisterModelController registers a model controller for use in the app.
RegisterModelController registers a model controller for use in the app .