mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: attr for enum fields (+ json encode/decode) (#18163)
This commit is contained in:
@ -111,6 +111,7 @@ pub struct EnumData {
|
||||
pub:
|
||||
name string
|
||||
value i64
|
||||
attrs []string
|
||||
}
|
||||
|
||||
// FieldData holds information about a field. Fields reside on structs.
|
||||
|
Reference in New Issue
Block a user