BAN-AI-Communications/go-hdlc

View on GitHub
encoder.go

Summary

Maintainability
A
45 mins
Test Coverage

Method Encoder.WriteFrame has 7 return statements (exceeds 4 allowed).
Open

func (e Encoder) WriteFrame(f *Frame) (int, error) {
    var err error

    var n, nn int
    if err = e.bufW.WriteByte(flagSym); err != nil {
Severity: Major
Found in encoder.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status