Skip to content

Conversation

@GorthMohogany
Copy link
Contributor

No description provided.

@codecov-io
Copy link

codecov-io commented Oct 1, 2018

Codecov Report

Merging #11 into master will increase coverage by 0.74%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #11      +/-   ##
=========================================
+ Coverage   82.45%   83.2%   +0.74%     
=========================================
  Files           4       4              
  Lines         359     375      +16     
=========================================
+ Hits          296     312      +16     
  Misses         46      46              
  Partials       17      17
Impacted Files Coverage Δ
decoder.go 80.92% <100%> (+2.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be59a9b...252a6c5. Read the comment docs.

Copy link
Owner

@emersion emersion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR, sorry for the delay.

I also need to read again the RFC to make sure we can do this on all fields.


func parseLine(l string) (key string, field *Field, err error) {
field = new(Field)
const placeholder = "\uFFFD"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of using a placeholder (which could be in the input), can we replace this logic with a proper char-by-char parser?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants