https://github.com/osoco/monkfish
https://github.com/osoco/monkfish
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/osoco/monkfish
- Owner: osoco
- License: other
- Created: 2018-04-20T08:22:57.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-25T11:42:04.000Z (about 8 years ago)
- Last Synced: 2025-03-05T17:29:43.193Z (over 1 year ago)
- Language: Java
- Size: 62.5 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE.txt
Awesome Lists containing this project
README
:allow-uri-read:
== monkfish
Little library for Java 8+
== Result
Sometimes, you need that Optional return the errors causing you get empty result.
Then, you can call methods / functions that return the result or the errors you got.
public Result doSomething(...params)
Here are some tests explaining the use of https://github.com/osoco/monkfish/blob/master/src/main/java/es/osoco/monkfish/Result.java[Result]: https://github.com/osoco/monkfish/blob/master/src/test/java/es/osoco/monkfish/ResultTests.java[Java] https://github.com/osoco/monkfish/blob/master/src/test/groovy/es/osoco/monkfish/ResultSpec.groovy[Groovy]
== Latest Versions
Still in development, SNAPSHOT.
== Build
Using gradle wrapper, only Java dependencies in the project, not using other libraries or jars. You need JDK 1.8+ to build and test the project. Groovy for testing, using Spock.
Test project:
./gradlew test
Build project:
./gradlew build
== License
Monkfish licensed under the terms of the link:http://www.apache.org/licenses/LICENSE-2.0.html[Apache License, Version 2.0]
== Contact
Email: mailto:jorge.franco@osoco.es[]