Watch
1
0
Fork
You've already forked go-ini
0
Code Issues 1 Pull requests Projects Releases Packages Wiki Activity Pipelines

remove leading whitespace #1

Open
opened 2026-08-07 08:52:22 +00:00 by PatrikBures · 0 comments
Owner

it can be done by having a counter, whenever a value is read, it checks if it is white space. if it is it counts up by 1.
then when a new line is reached, if the count is above 0, it trims that many bytes

it can be done by having a counter, whenever a value is read, it checks if it is white space. if it is it counts up by 1. then when a new line is reached, if the count is above 0, it trims that many bytes
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
PatrikBures/go-ini#1
No description provided.