nandlabs / go-commons Goto Github PK
View Code? Open in Web Editor NEWA common collection of utilities for Go programming language
License: Apache License 2.0
A common collection of utilities for Go programming language
License: Apache License 2.0
Redirect the webpage go.nandlabs.io/commons to the documentation page.
Depends on nandlabs/golly#9
Create a package to parse and compare Semantic versioning as specified in https://semver.org
The VFS Package does not have tests. Need to add test cases for the same.
Create a README for the client package and link the project readme
the Copy() implementation in BaseVFS is incomplete
If the source is a directory, the implementation seems to be incomplete
https://github.com/nandlabs/go-commons/blob/main/vfs/base_fs.go#L29
Need to create PR Guidelines for the project
Create a utility for AES Encryption and Decryption
Codec documentation
go-commons is a very boring name. Let's Rename the library to golly .
Its an acronym that loosely means Go Open Source Library
Add message provider support for l3
If no params are passed the array index 1 is being checked which causes a panic
The current VFile interface defines a function Delete() that is supposed to delete file or directory. However this is confusing to use.
- If it s a directory call the resolvedFile.DeleteAll()
- If its a File call resolvedFile.Delete()
add test cases for fnutils and erratics package.
Create a command line utility to execute command line apps.
Currently the go commons uses an external dependency for yaml support in codec.
I would like to get away with this dependency with an implementation of yaml Reader and Writer within go commons
Create String library with following use cases
Need a new HTTP Client interface that encapsulates all operations for the REST API such as
Add a utility to calculate checksum for text content as well as for binary/file content
The CLI Package soruce files lacks documentation. Add inline documentations for the source files.
https://github.com/nandlabs/go-commons/blob/main/clients/rest/request.go#L101 causes an infinite loop on adding content type
Failing test case to be fixed
TestFileExists/Existing_File
The ListAll() fn implementation should be able to handle the nested folder strucutre scenario.
The current implementation is unable to process nested folder structure
All test resources needs to be in a directory call testdata.
The resources for vfs and clients/rest packages are in different directory.
Remove the println statements from toHttpRequest method in rest client request.go
The Branches need to be protected based on types
Main Branch
Feature Branch/Bug Fixes
When I test the example3 in the readme go run main.go -pd="test" -pf="dev" test it works fine but go run main.go test -pd="test" -pf="dev" does not parse flags
Create a consts of known mimetypes to ioutils package.
Refer to https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for common mime types and the extension.
Remove unnecessary fmt.Print Statements from the code
Implement a local Secret store as mentioned by #27
Check and add Github Community Standards
Create a set of utils for testing assertion
This is required for testing files.
New Package Name : testing
Add a description to VFS Create functions
VFS Create is generally means creation of file. However different VFS Implementation can have its own constraints.
Document the following on the interface function defn.
This is needs to happen for all the individual VFS Implementation
Requirements
add a messaging client parallel to rest
2 providers to be added
support in-out and out-only
design to be created based on VFS pattern
create a local implementation based on channels for vmp and vmc
Create a readme file for secret management.
The Rest Client in the go commons is missing support for path parameters.
Add Pretty Print support for xml and json codec
Create a utility to be able to convert text between different formats.
Check if Endianness support is required.
Any package/collection of functions that does not have a specific feature in itself should have a details inline documentation of the functions.
The rest.Client#UseEnvProxy currently does not specify if the proxy is for HTTP or HTTPs update the function to include the protocol as well.
Dependabot version updates config needs to be added
Create a package that can handle sensitive information like
Create a Readme for the SemVer Package
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.