dmotylev / goproperties Goto Github PK
View Code? Open in Web Editor NEWSimple library for reading .properties (java properties) files for Go
License: MIT License
Simple library for reading .properties (java properties) files for Go
License: MIT License
I have properties files that fail to load because the value length exceeds the hard coded 1024. See lines 309 and 310.
Please make this configurable (or use slices?).
My workaround is to modify the lines to:
n.buffer = make([]byte, 2048)
n.lineBuffer = make([]byte, 2048)
Any chance you'll be working on Write function(s) for this project in the near future?
While experimenting with Goproperties to parse a VMware VMX file, I found out it does not parse keys that contain colons such as: ide1:0.devicetype="cdrom-image"
Is supporting colons in the key within the scope of this package? if so, I would be happy to provide a patch.
I have properties files that fail to load because the value length exceeds the hard coded 1024. See lines 309 and 310.
Please make this configurable (or use slices?).
My workaround is to modify the lines to:
n.buffer = make([]byte, 2048)
n.lineBuffer = make([]byte, 2048)
The GoDoc should say
go get -u launchpad.net/gocheck
for loading the package
Property which sets the value of a filepath in windows platform would be like :
custom_path = C:\Users\abc
But value of this property obtained using Load method would be like C:Usersabc
as it escapes the slashes.
Escaping slashes in the value of the property works. But this is not standard way of setting path in a properties file. (windows)
custom_path = C:\\Users\\abc
Is there a workaround for it? Any comments?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.