whatcanGOwrong

This commit is contained in:
2024-09-19 21:38:24 -04:00
commit d0ae4d841d
17908 changed files with 4096831 additions and 0 deletions
@@ -0,0 +1,11 @@
package dirio
type SomeType struct {
X int
}
var A string = "something"
func SomeFunction() {
println("hello world")
}
@@ -0,0 +1,5 @@
package ioio
type SomeOtherType struct {
Y int
}
@@ -0,0 +1,21 @@
package pkg
var A = 0
type SomeType struct {
X float64
}
func (s *SomeType) AMethod(x int) int {
return x + 3
}
func (s *SomeType) AnotherMethod(x int) int {
return x + 4
}
var SomeVar SomeType
const (
SomeConst int = 2
)
@@ -0,0 +1,5 @@
package realname
type SomeType struct {
A bool
}
@@ -0,0 +1,8 @@
package pkg
var A = 1
type SomeType struct {
X int
Y int
}
@@ -0,0 +1,9 @@
package pluginsupport
type Something interface {
Callback(int) int
}
type SomethingElse interface {
Callback2(int, int) float64
}