From 608bd6d05d4c815378087f1dba903354ac005fa8 Mon Sep 17 00:00:00 2001 From: toschdev <8368497+toschdev@users.noreply.github.com> Date: Wed, 22 Nov 2023 21:04:06 +0100 Subject: [PATCH] Sort imports --- docs/docs/02-guide/04-blog.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/docs/02-guide/04-blog.md b/docs/docs/02-guide/04-blog.md index a3c60765ef..268e0ab092 100644 --- a/docs/docs/02-guide/04-blog.md +++ b/docs/docs/02-guide/04-blog.md @@ -44,11 +44,11 @@ package keeper import ( "encoding/binary" - "blog/x/blog/types" - + sdk "github.com/cosmos/cosmos-sdk/types" "cosmossdk.io/store/prefix" "github.com/cosmos/cosmos-sdk/runtime" - sdk "github.com/cosmos/cosmos-sdk/types" + + "blog/x/blog/types" ) func (k Keeper) AppendPost(ctx sdk.Context, post types.Post) uint64 { @@ -123,9 +123,9 @@ package keeper import ( "context" - "blog/x/blog/types" - sdk "github.com/cosmos/cosmos-sdk/types" + + "blog/x/blog/types" ) func (k msgServer) CreatePost(goCtx context.Context, msg *types.MsgCreatePost) (*types.MsgCreatePostResponse, error) { @@ -176,11 +176,11 @@ import ( "context" "fmt" - "blog/x/blog/types" - errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + + "blog/x/blog/types" ) func (k msgServer) UpdatePost(goCtx context.Context, msg *types.MsgUpdatePost) (*types.MsgUpdatePostResponse, error) { @@ -233,11 +233,11 @@ import ( "context" "fmt" - "blog/x/blog/types" - errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + + "blog/x/blog/types" ) func (k msgServer) DeletePost(goCtx context.Context, msg *types.MsgDeletePost) (*types.MsgDeletePostResponse, error) { @@ -275,12 +275,12 @@ package keeper import ( "context" - "blog/x/blog/types" - sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "blog/x/blog/types" ) func (k Keeper) ShowPost(goCtx context.Context, req *types.QueryShowPostRequest) (*types.QueryShowPostResponse, error) { @@ -306,13 +306,13 @@ package keeper import ( "context" - "blog/x/blog/types" - "cosmossdk.io/store/prefix" "github.com/cosmos/cosmos-sdk/runtime" "github.com/cosmos/cosmos-sdk/types/query" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "blog/x/blog/types" ) func (k Keeper) ListPost(ctx context.Context, req *types.QueryListPostRequest) (*types.QueryListPostResponse, error) {