goPackage property

  1. @TagNumber(11)
String goPackage

Sets the Go package where structs generated from this .proto will be placed. If omitted, the Go package will be derived from the following:

  • The basename of the package import path, if provided.
  • Otherwise, the package statement in the .proto file, if present.
  • Otherwise, the basename of the .proto file, without extension.

Implementation

@$pb.TagNumber(11)
$core.String get goPackage => $_getSZ(4);
  1. @TagNumber(11)
void goPackage=(String v)

Implementation

@$pb.TagNumber(11)
set goPackage($core.String v) { $_setString(4, v); }