fix(backend): library use in message template
This commit is contained in:
parent
e221b17bde
commit
c4b3310c58
5 changed files with 1424 additions and 1517 deletions
|
|
@ -1,6 +1,8 @@
|
|||
// Auto-generated, do not edit
|
||||
package messages
|
||||
|
||||
import "encoding/binary"
|
||||
|
||||
const (
|
||||
MsgBatchMeta = 80
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -8,9 +8,8 @@ ruby run.rb
|
|||
|
||||
```
|
||||
|
||||
In order generated .go file to fit the go formatting style:
|
||||
In order format generated files run:
|
||||
```sh
|
||||
gofmt -w ../backend/pkg/messages/messages.go
|
||||
|
||||
sh format.sh
|
||||
```
|
||||
(Otherwise there will be changes in stage)
|
||||
|
|
|
|||
1
mobs/format.sh
Normal file
1
mobs/format.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
gofmt -w ../backend/pkg/messages
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
// Auto-generated, do not edit
|
||||
package messages
|
||||
|
||||
import "encoding/binary"
|
||||
|
||||
const (
|
||||
<% $messages.each do |msg| %>
|
||||
Msg<%= msg.name %> = <%= msg.id %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue