> For the complete documentation index, see [llms.txt](https://mikexu.gitbook.io/cosmossdk-in-action/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mikexu.gitbook.io/cosmossdk-in-action/module-create/defining-the-message-msg/msg.go-mymodule.md).

# msg.go - mymodule

> Source Code:[**msg.go**](https://github.com/MrXJC/CosmosSDK-in-Action/blob/master/Example/mymodule/x/mymodule/msgs.go)

```
X
├── mymodule
    ├── errors.go
    ├── handler.go
    ├── keeper.go
    ├── msg.go
    ├── tick.go
    ├── types.go
    └── wires.go
```

按照上图在cosmos-sdk的x文件夹下的mymodule下新建msg.go
