|
|
@ -26,6 +26,11 @@ func (in *Position) DeepCopy() *Position { |
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
func (in *QueryTemplate) DeepCopyInto(out *QueryTemplate) { |
|
|
|
func (in *QueryTemplate) DeepCopyInto(out *QueryTemplate) { |
|
|
|
*out = *in |
|
|
|
*out = *in |
|
|
|
|
|
|
|
if in.Tags != nil { |
|
|
|
|
|
|
|
in, out := &in.Tags, &out.Tags |
|
|
|
|
|
|
|
*out = make([]string, len(*in)) |
|
|
|
|
|
|
|
copy(*out, *in) |
|
|
|
|
|
|
|
} |
|
|
|
if in.Variables != nil { |
|
|
|
if in.Variables != nil { |
|
|
|
in, out := &in.Variables, &out.Variables |
|
|
|
in, out := &in.Variables, &out.Variables |
|
|
|
*out = make([]TemplateVariable, len(*in)) |
|
|
|
*out = make([]TemplateVariable, len(*in)) |
|
|
|