2026-03-05 11:21:41 +00:00
|
|
|
// Package memory provides an in-memory model.Model implementation.
|
|
|
|
|
// This is the same as model.NewModel() but importable as a standalone package.
|
2026-03-04 13:13:34 +00:00
|
|
|
package memory
|
|
|
|
|
|
|
|
|
|
import (
|
2026-06-18 11:55:35 +01:00
|
|
|
"go-micro.dev/v6/model"
|
2026-03-04 13:13:34 +00:00
|
|
|
)
|
|
|
|
|
|
2026-03-05 11:21:41 +00:00
|
|
|
// New creates a new in-memory model.
|
|
|
|
|
func New(opts ...model.Option) model.Model {
|
|
|
|
|
return model.NewModel(opts...)
|
2026-03-04 13:13:34 +00:00
|
|
|
}
|