From a263a9f1739e88ff0248c2c9031bec7891a6af0d Mon Sep 17 00:00:00 2001 From: Kebin Liu Date: Wed, 8 Jun 2022 11:42:03 +0800 Subject: [PATCH] Add older style build comment To compatible with older Go version on some cloud environment , such as Google App Engine using 1.16 --- sockopts_other.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sockopts_other.go b/sockopts_other.go index d53e992..1f57c84 100644 --- a/sockopts_other.go +++ b/sockopts_other.go @@ -1,4 +1,5 @@ //go:build !linux +// +build !linux package gost @@ -8,4 +9,4 @@ func setSocketMark(fd int, value int) (e error) { func setSocketInterface(fd int, value string) (e error) { return nil -} \ No newline at end of file +}