Skip to content

Commit

Permalink
Merge pull request #1 from wneessen/add_uint_tpes
Browse files Browse the repository at this point in the history
Add uint types
  • Loading branch information
wneessen authored Sep 1, 2024
2 parents bdd7efe + 89d0a3f commit b11f825
Show file tree
Hide file tree
Showing 3 changed files with 369 additions and 66 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

module github.com/wneessen/niljson

go 1.23
go 1.18
15 changes: 15 additions & 0 deletions niljson.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,21 @@ type NilInt = Variable[int]
// NilInt64 is an int64 type that can be nil
type NilInt64 = Variable[int64]

// NilUInt is an uint type that can be nil
type NilUInt = Variable[uint]

// NilUInt8 is an uint8 type that can be nil
type NilUInt8 = Variable[uint8]

// NilUInt16 is an uint16 type that can be nil
type NilUInt16 = Variable[uint16]

// NilUInt32 is an uint32 type that can be nil
type NilUInt32 = Variable[uint32]

// NilUInt64 is an uint64 type that can be nil
type NilUInt64 = Variable[uint64]

// NilFloat32 is an float32 type that can be nil
type NilFloat32 = Variable[float32]

Expand Down
Loading

0 comments on commit b11f825

Please sign in to comment.