diff options
author | uzhas <uzhas@ydb.tech> | 2023-11-16 16:04:50 +0300 |
---|---|---|
committer | uzhas <uzhas@ydb.tech> | 2023-11-16 17:46:46 +0300 |
commit | 46f0c0079bb50609d2eeb6586642bcf114fc5239 (patch) | |
tree | 84e4e4978d57fe5de321ba69bf9d0c290de60a66 /contrib/go/_std_1.20/src/internal/poll/iovec_unix.go | |
parent | 73045e389397816cc2bdd6cd7818b4bce427b265 (diff) | |
download | ydb-46f0c0079bb50609d2eeb6586642bcf114fc5239.tar.gz |
enable ya make for go projects
Diffstat (limited to 'contrib/go/_std_1.20/src/internal/poll/iovec_unix.go')
-rw-r--r-- | contrib/go/_std_1.20/src/internal/poll/iovec_unix.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/go/_std_1.20/src/internal/poll/iovec_unix.go b/contrib/go/_std_1.20/src/internal/poll/iovec_unix.go new file mode 100644 index 0000000000..3f2833e728 --- /dev/null +++ b/contrib/go/_std_1.20/src/internal/poll/iovec_unix.go @@ -0,0 +1,13 @@ +// Copyright 2020 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd + +package poll + +import "syscall" + +func newIovecWithBase(base *byte) syscall.Iovec { + return syscall.Iovec{Base: base} +} |