Generate proper package names for sets
This commit is contained in:
parent
59a63295b0
commit
b4e6729fb0
|
@ -111,6 +111,8 @@ THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
|||
src = strings.Replace(src, "Five TypeName = 5", "Five TypeName = "+typ.testVals[4], 1)
|
||||
// Replace the type name
|
||||
src = strings.Replace(src, genericTypeName, typ.name, -1)
|
||||
// Replace package name
|
||||
src = strings.Replace(src, "package impl", "package set"+typ.name, 1)
|
||||
return doNotEditBanner + src
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setint
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setint
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setint16
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setint16
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setint32
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setint32
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setint64
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setint64
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setint8
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setint8
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setstring
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setstring
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setuint
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setuint
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setuint16
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setuint16
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setuint32
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setuint32
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setuint64
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setuint64
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setuint8
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
package setuint8
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
Loading…
Reference in New Issue