From f18b0b0c16c663aad4f66b29c681e5dee8bdeb2a Mon Sep 17 00:00:00 2001
From: Shenghou Ma go install
":
+$ mkdir -p $GOPATH/src/widgets/bar $ cat > $GOPATH/src/widgets/bar/bar.go package main @@ -217,7 +218,7 @@ func TestString(t *testing.T) { } ^D $ go test widgets/foo -ok widgets/foo +ok widgets/foo 0.018s
@@ -323,8 +324,8 @@ foo_arm.go
describes a package that builds on
-different operating systems by parameterizing the file name with
-$GOOS
.
$GOARCH
.
The general code goes in foo.go
, while architecture-specific
code goes in foo_386.go
, foo_amd64.go
, and
--
2.50.0