Skip to content

Commit 50567d1

Browse files
committed
update gofmt
1 parent 15f722a commit 50567d1

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

schema/elements.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ const (
101101

102102
// Map is a key-value pair. Its default semantics are the same as an
103103
// associative list, but:
104-
// * It is serialized differently:
104+
// - It is serialized differently:
105105
// map: {"k": {"value": "v"}}
106106
// list: [{"key": "k", "value": "v"}]
107-
// * Keys must be string typed.
108-
// * Keys can't have multiple components.
107+
// - Keys must be string typed.
108+
// - Keys can't have multiple components.
109109
//
110110
// Optionally, maps may be atomic (for example, imagine representing an RGB
111111
// color value--it doesn't make sense to have different actors own the R and G

typed/reconcile_schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func (v *reconcileWithSchemaWalker) finishDescent(v2 *reconcileWithSchemaWalker)
110110
}
111111

112112
// ReconcileFieldSetWithSchema reconciles the a field set with any changes to the
113-
//// object's schema since the field set was written. Returns the reconciled field set, or nil of
113+
// // object's schema since the field set was written. Returns the reconciled field set, or nil of
114114
// no changes were made to the field set.
115115
//
116116
// Supports:

typed/typed.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,13 @@ func (tv TypedValue) ToFieldSet() (*fieldpath.Set, error) {
9999

100100
// Merge returns the result of merging tv and pso ("partially specified
101101
// object") together. Of note:
102-
// * No fields can be removed by this operation.
103-
// * If both tv and pso specify a given leaf field, the result will keep pso's
104-
// value.
105-
// * Container typed elements will have their items ordered:
106-
// * like tv, if pso doesn't change anything in the container
107-
// * like pso, if pso does change something in the container.
102+
// - No fields can be removed by this operation.
103+
// - If both tv and pso specify a given leaf field, the result will keep pso's
104+
// value.
105+
// - Container typed elements will have their items ordered:
106+
// - like tv, if pso doesn't change anything in the container
107+
// - like pso, if pso does change something in the container.
108+
//
108109
// tv and pso must both be of the same type (their Schema and TypeRef must
109110
// match), or an error will be returned. Validation errors will be returned if
110111
// the objects don't conform to the schema.

0 commit comments

Comments
 (0)