Skip to content

Commit

Permalink
remove test printing
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmtterminus committed Dec 13, 2024
1 parent 204c067 commit e7c0976
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions generator/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ func (f *Fake) getGenericTypeData(typeName *types.TypeName) (paramNames []string
if named, ok := typeName.Type().(*types.Named); ok {
if _, ok := named.Underlying().(*types.Interface); ok {
typeParams := named.TypeParams()
fmt.Printf("len: %d\n", typeParams.Len())
if typeParams.Len() > 0 {
for i := 0; i < typeParams.Len(); i++ {
param := typeParams.At(i)
Expand Down Expand Up @@ -124,7 +123,6 @@ func (f *Fake) findPackage() error {
f.Target = target
f.Package = pkg
f.TargetPackage = imports.VendorlessPath(pkg.PkgPath)
fmt.Printf("genericTypeParameters: %v\n", genericTypeParameters)
if len(genericTypeParameters) > 0 {
f.GenericTypeParametersAndConstraints = fmt.Sprintf("[%s]", strings.Join(genericTypeParametersAndConstraints, ", "))
f.GenericTypeParameters = fmt.Sprintf("[%s]", strings.Join(genericTypeParameters, ", "))
Expand Down

0 comments on commit e7c0976

Please sign in to comment.