Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support mapping to fields on sub structures for arbitrary levels. #3

Open
ekhabarov opened this issue Mar 12, 2020 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@ekhabarov
Copy link
Member

Source structure

type Source struct {
	I int `sts: "First.Second.Third.I"`
	S int `sts: "First.S"`
}

destination structure

type Dest struct {
	First struct {
		Second struct {
			Third struct {
				I int
				S string
			}
		}
		S string
	}
}
@ekhabarov ekhabarov added the enhancement New feature or request label Mar 12, 2020
@tooolbox
Copy link

This is valuable.

Also does the tool support nested structs where the definitions of those structs are in other files in the same package, or other packages entirely? That would be valuable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants