fix(backend): library use in message template

This commit is contained in:
Alex Kaminskii 2022-08-24 10:49:46 +02:00
parent e221b17bde
commit c4b3310c58
5 changed files with 1424 additions and 1517 deletions

View file

@ -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

View file

@ -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
View file

@ -0,0 +1 @@
gofmt -w ../backend/pkg/messages

View file

@ -1,6 +1,8 @@
// Auto-generated, do not edit
package messages
import "encoding/binary"
const (
<% $messages.each do |msg| %>
Msg<%= msg.name %> = <%= msg.id %>