From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74648C10F13 for ; Fri, 5 Apr 2019 15:24:16 +0000 (UTC) Received: from krantz.zx2c4.com (krantz.zx2c4.com [192.95.5.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C301F2184B for ; Fri, 5 Apr 2019 15:24:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C301F2184B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=evosoft.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=wireguard-bounces@lists.zx2c4.com Received: from krantz.zx2c4.com (localhost [IPv6:::1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 2469d599; Fri, 5 Apr 2019 15:21:53 +0000 (UTC) Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id bb86f0d5 for ; Thu, 4 Apr 2019 14:35:38 +0000 (UTC) Received: from DENBGMASH1SRV.evosoft.com (DENBGMASH1SRV.evosoft.com [193.158.17.58]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 1a4d2892 for ; Thu, 4 Apr 2019 14:35:38 +0000 (UTC) X-TM-IMSS-Message-ID: <9c9bfd1d000b2cf1@evosoft.com> Received: from EVO01677.evosoft.com ([139.22.164.201]) by evosoft.com ([193.158.17.58]) with ESMTP (TREND IMSS SMTP Service 7.5) id 9c9bfd1d000b2cf1 ; Thu, 4 Apr 2019 16:37:46 +0200 Received: from EVO01681.evosoft.com ([169.254.2.148]) by EVO01677.evosoft.com ([169.254.4.154]) with mapi id 14.03.0439.000; Thu, 4 Apr 2019 16:37:48 +0200 From: "Mueller, Harald (IOT DS EVO OPS APS DIN)" To: "wireguard@lists.zx2c4.com" Subject: Go modules wireguard-windows Thread-Topic: Go modules wireguard-windows Thread-Index: AdTq8H/xlFk+Bj7kReGtPPET15KouQ== Date: Thu, 4 Apr 2019 14:37:47 +0000 Message-ID: <5BA9D521A03DBB428399320B400AFE770106B59A4A@EVO01681.evosoft.com> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [139.22.166.204] MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 05 Apr 2019 17:21:48 +0200 X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2841343105918828642==" Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" --===============2841343105918828642== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_5BA9D521A03DBB428399320B400AFE770106B59A4AEVO01681evoso_" --_000_5BA9D521A03DBB428399320B400AFE770106B59A4AEVO01681evoso_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, i'm facing an issue while using wiregard-windows if I want to use the go-code in a GOMODE111=3Don environment as an library,= I got: go: finding github.com/WireGuard/wireguard-windows latest go: github.com/WireGuard/wireguard-windows@v0.0.0-20190403001455-973f02c9d2= 9d: parsing go.mod: go.mod:5: invalid module version "latest": version must= be of the form v1.2.3 go.mod:6: invalid module version "latest": version must be of the form v1.2= .3 go.mod:7: invalid module version "latest": version must be of the form v1.2= .3 go.mod:8: invalid module version "latest": version must be of the form v1.2= .3 go.mod:9: invalid module version "latest": version must be of the form v1.2= .3 go: error loading module requirements that is fine if you use it direct, but not if you use it as an package for = own code. It would be better to note fixed versions in the code. To get the latest versions for your build script, you can use a go get -u j= ust before go build. It would be nice to change the repo in that way, to enable further usage of= your work. Thanks in advantage Harald --_000_5BA9D521A03DBB428399320B400AFE770106B59A4AEVO01681evoso_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

i’m facing an issue while using = wiregard-windows

 

if I want to use the go-code in a GOMO= DE111=3Don environment as an library, I got:

 

go: finding github.com/WireGuard/wireg= uard-windows latest

go: github.com/WireGuard/wireguard-win= dows@v0.0.0-20190403001455-973f02c9d29d: parsing go.mod: go.mod:5: invalid = module version "latest": version must be of the form v1.2.3

go.mod:6: invalid module version "= ;latest": version must be of the form v1.2.3

go.mod:7: invalid module version "= ;latest": version must be of the form v1.2.3

go.mod:8: invalid module version "= ;latest": version must be of the form v1.2.3

go.mod:9: invalid module version "= ;latest": version must be of the form v1.2.3

go: error loading module requirements<= o:p>

 

that is fine if you use it direct, but= not if you use it as an package for own code.

 

It would be better to note fixed versi= ons in the code.

To get the latest versions for your bu= ild script, you can use a go get -u just before go build.

 

 

It would be nice to change the repo in= that way, to enable further usage of your work.

 

Thanks in advantage<= /p>

 

Harald

--_000_5BA9D521A03DBB428399320B400AFE770106B59A4AEVO01681evoso_-- --===============2841343105918828642== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ WireGuard mailing list WireGuard@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/wireguard --===============2841343105918828642==--