more junk to delete

master
Jordan Orelli 3 years ago
parent 1bc14f79ff
commit afba9ae29e

@ -1,17 +0,0 @@
package ref
func New[T any](v *T) Ref[T] {
if v == nil {
var zero T
return Ref[T]{ptr: &zero}
}
return Ref[T]{ptr: v}
}
type Ref[T any] struct {
ptr *T
}
func (r Ref[T]) Val() T {
return *r.ptr
}

@ -1,12 +0,0 @@
{
"orel.li": {
"fart": {
"listed": [
"0.0.1",
"0.0.2",
"0.0.3"
],
"latest": "0.0.3"
}
}
}
Loading…
Cancel
Save