Format generated Go source code in-process
[govpp.git] / examples / binapi / ethernet_types / ethernet_types.ba.go
1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
2 // source: /usr/share/vpp/api/core/ethernet_types.api.json
3
4 /*
5 Package ethernet_types is a generated VPP binary API for 'ethernet_types' module.
6
7 It consists of:
8           1 alias
9 */
10 package ethernet_types
11
12 import (
13         "bytes"
14         "context"
15         "io"
16         "strconv"
17
18         api "git.fd.io/govpp.git/api"
19         struc "github.com/lunixbochs/struc"
20 )
21
22 const (
23         // ModuleName is the name of this module.
24         ModuleName = "ethernet_types"
25         // VersionCrc is the CRC of this module.
26         VersionCrc = 0xd4ff2808
27 )
28
29 // MacAddress represents VPP binary API alias 'mac_address'.
30 type MacAddress [6]uint8
31
32 // This is a compile-time assertion to ensure that this generated file
33 // is compatible with the GoVPP api package it is being compiled against.
34 // A compilation error at this line likely means your copy of the
35 // GoVPP api package needs to be updated.
36 const _ = api.GoVppAPIPackageIsVersion1 // please upgrade the GoVPP api package
37
38 // Reference imports to suppress errors if they are not otherwise used.
39 var _ = api.RegisterMessage
40 var _ = bytes.NewBuffer
41 var _ = context.Background
42 var _ = io.Copy
43 var _ = strconv.Itoa
44 var _ = struc.Pack