luci: go.chromium.org/luci/starlark/protohacks Index | Files

package protohacks

import "go.chromium.org/luci/starlark/protohacks"

Package protohacks is temporary.

It will disappear once we stop vendoring "google.golang.org/protobuf".

As of now, only code "close by" to the "vendor" folder can directly import types from "google.golang.org/protobuf".

Index

Package Files

hacks.go

func FileOptions Uses

func FileOptions(d protoreflect.FileDescriptor) ([]byte, error)

FileOptions returns proto-serialized descriptorpb.FileOptions.

Return (nil, nil) if the file has no options.

Package protohacks imports 3 packages (graph) and is imported by 2 packages. Updated 2019-08-20. Refresh now. Tools for package owners.