From e8375acb2119a78ca0049098df3c36a28210bd9c Mon Sep 17 00:00:00 2001 From: jeronimoalbi Date: Tue, 5 Sep 2023 18:00:36 +0200 Subject: [PATCH] chore: fix typos --- ignite/services/plugin/interface.go | 2 +- ignite/services/plugin/template/main.go.plush | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ignite/services/plugin/interface.go b/ignite/services/plugin/interface.go index c5a3d848d1..6b6c4370e3 100644 --- a/ignite/services/plugin/interface.go +++ b/ignite/services/plugin/interface.go @@ -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) } diff --git a/ignite/services/plugin/template/main.go.plush b/ignite/services/plugin/template/main.go.plush index ce63b322df..8905fa573f 100644 --- a/ignite/services/plugin/template/main.go.plush +++ b/ignite/services/plugin/template/main.go.plush @@ -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