Skip to content

Commit 70fa5a1

Browse files
chore: fix lint
1 parent 67b2394 commit 70fa5a1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/utils/ptr.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
// utils package provides utility functions for the createos-cli project.
12
package utils
23

4+
// Ptr is a generic helper function that takes a value of any type and returns a pointer to it.
35
func Ptr[T any](v T) *T {
46
return &v
57
}

0 commit comments

Comments
 (0)