1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

access modifiers: update tests/examples

This commit is contained in:
Alexander Medvednikov
2019-12-13 20:09:11 +03:00
parent 78131e78bc
commit dc83e30a44
5 changed files with 18 additions and 9 deletions

View File

@@ -321,7 +321,7 @@ fn escape(s string, mode EncodingMode) string {
// URL's String method uses the escaped_path method to obtain the path. See the
// escaped_path method for more details.
pub struct URL {
pub: mut:
pub mut:
scheme string
opaque string // encoded opaque data
user &Userinfo // username and password information

View File

@@ -5,14 +5,12 @@
module urllib
struct Value {
pub:
mut:
pub mut:
data []string
}
struct Values {
pub:
mut:
pub mut:
data map[string]Value
size int
}