aboutsummaryrefslogtreecommitdiff
path: root/lib/errors/errors_example_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-04-13 03:12:16 +0700
committerShulhan <ms@kilabit.info>2026-04-13 04:27:12 +0700
commita7e8750d5b83f390afec2333350a7293917dee12 (patch)
tree75a325840236758d04a31c41182b02a31dc4217b /lib/errors/errors_example_test.go
parentbeccc10bc2fd1b80134c7acd5e180b9d31c7fb4e (diff)
downloadpakakeh.go-a7e8750d5b83f390afec2333350a7293917dee12.tar.xz
lib/uuid: return nil if ID is zero
Per RFC 9562 Section 5.9, A Nil UUID value can be useful to communicate the absence of any other UUID value in situations that otherwise require or use a 128-bit UUID. A Nil UUID can express the concept "no such value here". Thus, it is reserved for such use as needed for implementation-specific situations. In case of SQL, the Value method should return nil if ID is zero.
Diffstat (limited to 'lib/errors/errors_example_test.go')
0 files changed, 0 insertions, 0 deletions