* chore: setup mini.test * chore(ci): setup new test runner, install plugin deps * chore(ci): test only on stable and nightly releases * test: iferr * test: struct_tags * test: impl * test: gotests
7 lines
98 B
Go
7 lines
98 B
Go
package fortest
|
|
|
|
type ForTest struct{}
|
|
|
|
func (t *ForTest) Add(x, y int) int {
|
|
return 2 + x + y
|
|
}
|