Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

How do I call the written component in the program in a conventional way?

21 views
Skip to first unread message

kevin xin

unread,
Mar 21, 2024, 6:58:25 PM3/21/24
to Service Weaver
How do I call the written component in the program in a conventional way? That is, directly accessing the method of a component in the program. Thank you.

Suresh Kumar R

unread,
Mar 30, 2024, 9:39:38 AM3/30/24
to Service Weaver
It's an anti pattern in service weaver. What is the reason behind this requirement?

If you must, You can just instantiate the implementation and assign it to interface type and call it as any other Go code.

Reply all
Reply to author
Forward
0 new messages