mirror of
https://github.com/vlang/v.git
synced 2025-09-17 11:26:17 -04:00
Updated V for Go developers (markdown)
parent
c31f5a62ad
commit
ebe7256411
@ -96,6 +96,7 @@ import (
|
||||
b, err := ioutil.ReadFile(path)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
return
|
||||
}
|
||||
text := string(b)
|
||||
</pre>
|
||||
@ -105,6 +106,7 @@ text := string(b)
|
||||
import os
|
||||
text := os.read_file(path)or{
|
||||
eprintln(err)
|
||||
return
|
||||
}
|
||||
</pre>
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user