示例#1
0
func ExampleCopyOf() {
	type Foo struct {
		A int
		B []*string
	}

	// Create the initial value
	str1 := "hello"
	str2 := "bye bye"
	f1 := &Foo{A: 1, B: []*string{&str1, &str2}}

	// Do the copy
	v := awsutil.CopyOf(f1)
	var f2 *Foo = v.(*Foo)

	// Print the result
	fmt.Println(awsutil.Prettify(f2))

	// Output:
	// {
	//   A: 1,
	//   B: ["hello","bye bye"]
	// }
}
示例#2
0
// String returns the string representation
func (s DescribeWorkspaceBundlesInput) String() string {
	return awsutil.Prettify(s)
}
示例#3
0
// String returns the string representation
func (s DescribeHapgInput) String() string {
	return awsutil.Prettify(s)
}
示例#4
0
// String returns the string representation
func (s DeleteHsmInput) String() string {
	return awsutil.Prettify(s)
}
示例#5
0
// String returns the string representation
func (s CreateLunaClientInput) String() string {
	return awsutil.Prettify(s)
}
示例#6
0
// String returns the string representation
func (s CreateHapgInput) String() string {
	return awsutil.Prettify(s)
}
示例#7
0
// String returns the string representation
func (s ModifyHsmOutput) String() string {
	return awsutil.Prettify(s)
}
示例#8
0
// String returns the string representation
func (s ListLunaClientsOutput) String() string {
	return awsutil.Prettify(s)
}
示例#9
0
// String returns the string representation
func (s RebuildWorkspacesOutput) String() string {
	return awsutil.Prettify(s)
}
示例#10
0
// String returns the string representation
func (s RebuildRequest) String() string {
	return awsutil.Prettify(s)
}
示例#11
0
// String returns the string representation
func (s RebootWorkspacesInput) String() string {
	return awsutil.Prettify(s)
}
示例#12
0
// String returns the string representation
func (s FailedWorkspaceChangeRequest) String() string {
	return awsutil.Prettify(s)
}
示例#13
0
// String returns the string representation
func (s FailedCreateWorkspaceRequest) String() string {
	return awsutil.Prettify(s)
}
示例#14
0
// String returns the string representation
func (s DescribeWorkspacesOutput) String() string {
	return awsutil.Prettify(s)
}
示例#15
0
// String returns the string representation
func (s DescribeWorkspaceDirectoriesInput) String() string {
	return awsutil.Prettify(s)
}
示例#16
0
// String returns the string representation
func (s ListHapgsInput) String() string {
	return awsutil.Prettify(s)
}
示例#17
0
// String returns the string representation
func (s ListHsmsOutput) String() string {
	return awsutil.Prettify(s)
}
示例#18
0
// String returns the string representation
func (s TerminateRequest) String() string {
	return awsutil.Prettify(s)
}
示例#19
0
// String returns the string representation
func (s ModifyHapgInput) String() string {
	return awsutil.Prettify(s)
}
示例#20
0
// String returns the string representation
func (s TerminateWorkspacesOutput) String() string {
	return awsutil.Prettify(s)
}
示例#21
0
// String returns the string representation
func (s ModifyLunaClientOutput) String() string {
	return awsutil.Prettify(s)
}
示例#22
0
// String returns the string representation
func (s UserStorage) String() string {
	return awsutil.Prettify(s)
}
示例#23
0
// String returns the string representation
func (s CreateHsmOutput) String() string {
	return awsutil.Prettify(s)
}
示例#24
0
// String returns the string representation
func (s WorkspaceBundle) String() string {
	return awsutil.Prettify(s)
}
示例#25
0
// String returns the string representation
func (s DeleteHapgOutput) String() string {
	return awsutil.Prettify(s)
}
示例#26
0
// String returns the string representation
func (s DescribeLunaClientInput) String() string {
	return awsutil.Prettify(s)
}
示例#27
0
// String returns the string representation
func (s DeleteLunaClientOutput) String() string {
	return awsutil.Prettify(s)
}
示例#28
0
// String returns the string representation
func (s GetConfigOutput) String() string {
	return awsutil.Prettify(s)
}
示例#29
0
// String returns the string representation
func (s DescribeHsmOutput) String() string {
	return awsutil.Prettify(s)
}
示例#30
0
// String returns the string representation
func (s ListAvailableZonesOutput) String() string {
	return awsutil.Prettify(s)
}