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

checker: improve pub struct check (fix #14446) (#14777)

This commit is contained in:
yuyi
2022-06-19 22:42:22 +08:00
committed by GitHub
parent 37ef1ee453
commit de136f6baf
33 changed files with 115 additions and 95 deletions

View File

@@ -11,14 +11,14 @@ const (
msg_nosignal = 0x4000
)
struct StreamSocket {
pub struct StreamSocket {
pub:
handle int
mut:
path string
}
struct StreamConn {
pub struct StreamConn {
pub mut:
sock StreamSocket
mut:
@@ -28,7 +28,7 @@ mut:
write_timeout time.Duration
}
struct StreamListener {
pub struct StreamListener {
pub mut:
sock StreamSocket
mut: