Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jeronimoalbi committed Sep 5, 2023
1 parent d02af63 commit e8375ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ignite/services/plugin/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ type Interface interface {
//
//go:generate mockery --srcpkg . --name ClientAPI --structname PluginClientAPI --filename client_api.go --with-expecter
type ClientAPI interface {
// Dependencies returns the app dependencies.
// GetChainInfo returns basic info for the configured blockchain app.
GetChainInfo(context.Context) (*ChainInfo, error)
}
3 changes: 1 addition & 2 deletions ignite/services/plugin/template/main.go.plush
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ func (p) Execute(ctx context.Context, cmd *plugin.ExecutedCommand, api plugin.Cl
}
*/

// Calling the ClientAPI example

// ClientAPI call example
fmt.Println(api.GetChainInfo(ctx))

return nil
Expand Down

0 comments on commit e8375ac

Please sign in to comment.