package models
type User struct {
FirstName string
LastName string
Age uint8
}
I'm getting the following error when running go-plantuml generate:
2022/09/08 14:45:56 Could not find class: User for function SetFirstName
This seems to depend on the name of the files and the order in which they are parsed by the tool.
The same issue happens if the type is an alias (e.g. type User string).
Hi,
go-plantuml
cannot seem to find a type if its declaration is in a different file than one of its method.For example, with the following files:
impl.go
:user.go
:I'm getting the following error when running
go-plantuml generate
:This seems to depend on the name of the files and the order in which they are parsed by the tool. The same issue happens if the type is an alias (e.g.
type User string
).