johnsonjh/gobcd

View on GitHub

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
Severity: Minor
Found in bcd.go by golint

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.
Severity: Minor
Found in bcd.go by golint

exported function FromUint should have comment or be unexported
Open

func FromUint(value uint64, size int) []byte {
Severity: Minor
Found in bcd.go by golint

comment on exported function FromUint16 should be of the form "FromUint16 ..."
Open

// Returns two-bytes array with uint16 value in BCD format
Severity: Minor
Found in bcd.go by golint

comment on exported function FromUint32 should be of the form "FromUint32 ..."
Open

// Returns four-bytes array with uint32 value in BCD format
Severity: Minor
Found in bcd.go by golint

Hard tabs
Open

"github.com/johnsonjh/gobcd"
Severity: Info
Found in README.md by markdownlint

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.
Severity: Minor
Found in bcd.go by golint

Hard tabs
Open

fmt.Printf("BCD: %x", bcd.FromUint32(11223344))
Severity: Info
Found in README.md by markdownlint

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.
Severity: Minor
Found in bcd.go by golint

Hard tabs
Open

fmt.Printf("Uint32: %d", bcd.ToUint32([]byte{0x11, 0x22, 0x33, 0x44}))
Severity: Info
Found in README.md by markdownlint

Hard tabs
Open

"fmt"
Severity: Info
Found in README.md by markdownlint

comment on exported function FromUint8 should be of the form "FromUint8 ..."
Open

// Returns uint8 value in BCD format.
Severity: Minor
Found in bcd.go by golint

comment on exported function ToUint8 should be of the form "ToUint8 ..."
Open

// Returns uint8 value converted from bcd byte.
Severity: Minor
Found in bcd.go by golint
Severity
Category
Status
Source
Language