Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// > @3@4@5@6
// >
// > The list of the fields to move.
// >> 1. In `block` mode, the maximum `fields` depth is 1.
// >> 2. If several fields have the same end of the path,
// >> the last specified field will overwrite the previous ones.
Fields []cfg.FieldSelector `json:"fields" slice:"true" required:"true"` // *
// > @3@4@5@6
// >
// > The mode of the moving. Available modes are one of: `allow|block`.
Mode string `json:"mode" required:"true"` // *
// > @3@4@5@6
// >
// > The target field of the moving.
// >> 1. In `block` mode, the maximum `target` depth is 1.
// >> 2. If the `target` field is existing non-object field,
// >> it will be overwritten as object field.
Target cfg.FieldSelector `json:"target" parse:"selector" required:"true"` // *
Target_ []string
}
! config-params ^ config-params
Click to show internal directories.
Click to hide internal directories.