Skip to content

Commit

Permalink
Sort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
toschdev committed Nov 22, 2023
1 parent acd750f commit 608bd6d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/docs/02-guide/04-blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit 608bd6d

Please sign in to comment.