1
0
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:
Alexander Medvednikov 2020-05-16 15:36:19 +02:00 committed by GitHub
parent 37cf46d67a
commit 3bd88a3cc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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