blob: c52dcba86ceb7ba26336248f7f15770afc6ef5a6 [file] [log] [blame]
package proto
import (
"fmt"
"github.com/bazelbuild/rules_go/examples/proto/gostyle"
lib_proto "github.com/bazelbuild/rules_go/examples/proto/lib/lib_proto"
)
func DoGoStyle(g *gostyle.GoStyleObject) error {
if g == nil {
return fmt.Errorf("got nil")
}
return nil
}
func DoMultiProtos(a *lib_proto.LibObject, b *lib_proto.LibObject2) error {
if a == nil || b == nil {
return fmt.Errorf("got nil")
}
return nil
}