Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FileOptions.php

FileOptions::$go_package

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.

Generated from protobuf field <code>optional string go_package = 11;</code>

Type: go_package

File

vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php, line 79

Class

FileOptions
Generated from protobuf message <code>google.protobuf.FileOptions</code>

Namespace

Google\Protobuf\Internal

Code

protected $go_package = null;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal