Showing 13 of 13 total issues
comment on exported function FromUint64 should be of the form "FromUint64 ..." Open
// Returns eight-bytes array with uint64 value in BCD format
- Exclude checks
comment on exported function ToUint32 should be of the form "ToUint32 ..." Open
// Return uint32 value converted from at most last four bytes of bcd bytes array.
- Exclude checks
exported function FromUint should have comment or be unexported Open
func FromUint(value uint64, size int) []byte {
- Exclude checks
comment on exported function FromUint16 should be of the form "FromUint16 ..." Open
// Returns two-bytes array with uint16 value in BCD format
- Exclude checks
comment on exported function FromUint32 should be of the form "FromUint32 ..." Open
// Returns four-bytes array with uint32 value in BCD format
- Exclude checks
comment on exported function ToUint16 should be of the form "ToUint16 ..." Open
// Return uint16 value converted from at most last two bytes of bcd bytes array.
- Exclude checks
comment on exported function ToUint64 should be of the form "ToUint64 ..." Open
// Return uint64 value converted from at most last eight bytes of bcd bytes array.
- Exclude checks
Hard tabs Open
fmt.Printf("Uint32: %d", bcd.ToUint32([]byte{0x11, 0x22, 0x33, 0x44}))
- Read upRead up
- Exclude checks
comment on exported function FromUint8 should be of the form "FromUint8 ..." Open
// Returns uint8 value in BCD format.
- Exclude checks
comment on exported function ToUint8 should be of the form "ToUint8 ..." Open
// Returns uint8 value converted from bcd byte.
- Exclude checks