1 2 3 4 5 6 7 8 9 10 11 12 13 14
package {{_expr_:substitute('{{_name_}}', '_test', '', '')}}_test import ( "testing" ) func TestSimple(t *testing.T) { value := 1 expected := 2 if value != expected { t.Fatalf("Expected %v, but %v:", expected, value) } } {{_filter_:test}}