docs: public readonly fields

pull/4917/head
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
1 changed files with 2 additions and 0 deletions

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