RosettaCodeData/Task/Null-object/V-(Vlang)/null-object.v

9 lines
215 B
Coq
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
// Null or nil not used, default values for various primitive types/variables instead:
a_string :=''
a_bool := false
an_int := 0
[3]string{} // ['', '', '']
[3]bool{} // [false, false, false]
[3]int{} // [0, 0, 0]