blob: 4541de7015ccf67708e12b1bd227786184b921d0 [file]
package userdefined
// User-defined function with different name - should NOT be removed
func minimum(a, b int) int {
if a < b {
return a
} else {
return b
}
}
// Method on a type - should NOT be removed
type MyType struct{}
func (m MyType) min(a, b int) int {
if a < b {
return a
} else {
return b
}
}