-
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b73967d
commit 18ccad0
Showing
11 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,48 @@ | ||
package types | ||
|
||
// String is a test type. | ||
type String string | ||
|
||
// Int is a test type. | ||
type Int int | ||
// Int8 is a test type. | ||
type Int8 int8 | ||
// Int16 is a test type. | ||
type Int16 int16 | ||
// Int32 is a test type. | ||
type Int32 int32 | ||
// Int64 is a test type. | ||
type Int64 int64 | ||
|
||
// Uint is a test type. | ||
type Uint uint | ||
// Uint8 is a test type. | ||
type Uint8 uint | ||
// Uint16 is a test type. | ||
type Uint16 uint | ||
// Uint32 is a test type. | ||
type Uint32 uint | ||
// Uint64 is a test type. | ||
type Uint64 uint | ||
|
||
// Float32 is a test type. | ||
type Float32 float32 | ||
// Float64 is a test type. | ||
type Float64 float64 | ||
|
||
// Byte is a test type. | ||
type Byte byte | ||
|
||
// Rune is a test type. | ||
type Rune rune | ||
|
||
// Bool is a test type. | ||
type Bool bool | ||
|
||
// Complex64 is a test type. | ||
type Complex64 complex64 | ||
// Complex128 is a test type. | ||
type Complex128 complex128 | ||
|
||
// Uintptr is a test type. | ||
type Uintptr uintptr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
package sync | ||
|
||
// Thing is a test type. | ||
type Thing string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
package v1 | ||
|
||
// Four is a test type. | ||
type Four string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
package v1 | ||
|
||
// One is a test type. | ||
type One string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
package onev1 | ||
|
||
// Zero is a test type. | ||
type Zero string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
package v1 | ||
|
||
// Three is a test type. | ||
type Three string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
package v1 | ||
|
||
// Two is a test type. | ||
type Two string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package variadic | ||
|
||
// Echoer is an interface. | ||
type Echoer interface { | ||
Echo(ss ...string) []string | ||
} |