Skip to content

Commit

Permalink
Update openapiartgo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangababu-R committed Aug 30, 2022
1 parent f35aca1 commit 8eb9171
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openapiart/openapiartgo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,11 @@ def _write_interface(self, new):
"""
{description}
type {interface} interface {{
// Msg marshals {interface} to protobuf object *{pb_pkg_name}.{interface}
// and doesn't set defaults
Msg() *{pb_pkg_name}.{interface}
// SetMsg unmarshals {interface} from protobuf object *{pb_pkg_name}.{interface}
// and doesn't set defaults
SetMsg(*{pb_pkg_name}.{interface}) {interface}
{interface_signatures}
{nil_call}
Expand Down

0 comments on commit 8eb9171

Please sign in to comment.