blob: 8070a27feca5434d5c0fb20cea8fa0f449de2de5 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
package stored
import (
"lindenii.org/go/furgit/object"
objectid "lindenii.org/go/furgit/object/id"
)
// New creates one stored object wrapper.
func New[T object.Object](id objectid.ObjectID, obj T) *Stored[T] {
return &Stored[T]{id: id, obj: obj}
}
|