Documentation ¶
Overview ¶
Copyright 2019 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
taken from: https://github.com/golang/protobuf/blob/master/proto/defaults.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaults ¶ added in v0.8.0
SetDefaults sets unpopulated scalar fields to their default values. Fields within a oneof are not set even if they have a default value. SetDefaults is recursively called upon any populated message fields.
func SortValues ¶
SortValues sorts vals in alphabetical order.
func UnmarshalAST ¶
func UnmarshalProto ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.