• Clayton Coleman's avatar
    Hide common codec methods under helpers · 1e210541
    Clayton Coleman authored
    The pending codec -> conversion split changes the signature of
    Encode and Decode to be more complicated. Create a stub helper
    with the exact semantics of today and do the simple mechanical
    refactor here to reduce the cost of that change.
    1e210541
codec.go 3.11 KB