mv examples/{components,args}

This commit is contained in:
Michael McLoughlin
2018-12-27 20:37:47 -08:00
parent 6fc67c1fbc
commit 51524702ba
5 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
package components package args
type Struct struct { type Struct struct {
Byte byte Byte byte

View File

@@ -1,4 +1,4 @@
// Code generated by command: go run asm.go -out components.s -stubs stub.go. DO NOT EDIT. // Code generated by command: go run asm.go -out args.s -stubs stub.go. DO NOT EDIT.
#include "textflag.h" #include "textflag.h"

View File

@@ -1,11 +1,11 @@
package components package args
import ( import (
"testing" "testing"
"testing/quick" "testing/quick"
) )
//go:generate go run asm.go -out components.s -stubs stub.go //go:generate go run asm.go -out args.s -stubs stub.go
func TestFunctionsEqual(t *testing.T) { func TestFunctionsEqual(t *testing.T) {
cases := []struct { cases := []struct {

View File

@@ -7,7 +7,7 @@ import (
) )
func main() { func main() {
Package("github.com/mmcloughlin/avo/examples/components") Package("github.com/mmcloughlin/avo/examples/args")
TEXT("StringLen", "func(s string) int") TEXT("StringLen", "func(s string) int")
strlen := Load(Param("s").Len(), GP64v()) strlen := Load(Param("s").Len(), GP64v())

View File

@@ -1,6 +1,6 @@
// Code generated by command: go run asm.go -out components.s -stubs stub.go. DO NOT EDIT. // Code generated by command: go run asm.go -out args.s -stubs stub.go. DO NOT EDIT.
package components package args
func StringLen(s string) int func StringLen(s string) int