options

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package options demonstrates use of Protobuf options (message, field, etc.) in Go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean(msg proto.Message)

Clean removes fields from the message that have field option privacy.sensitive set to true.

Types

This section is empty.

Directories

Path Synopsis
Package pb shows how to define protobuf options (field, message, etc.), use it in other messages, proto-compile the code with protoc, and use it in Go.
Package pb shows how to define protobuf options (field, message, etc.), use it in other messages, proto-compile the code with protoc, and use it in Go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL