mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
docs: public readonly fields
This commit is contained in:
parent
37cf46d67a
commit
3bd88a3cc2
@ -705,6 +705,8 @@ fn main() {
|
||||
}
|
||||
```
|
||||
|
||||
This means that defining public readonly fields is very easy in V, no need in getters/setters or properties.
|
||||
|
||||
## Methods
|
||||
|
||||
```v
|
||||
|
Loading…
Reference in New Issue
Block a user