文件名称:kalidation:Kalidation = Kotlin验证DSL
文件大小:146KB
文件格式:ZIP
更新时间:2024-05-01 21:13:11
kotlin arrow dsl validation-dsl hibernate-validator
Kalidation = Kotlin验证DSL 客观的 创建允许这种流利代码的验证DSL: val spec = validationSpec { constraints< Foo> { property( Foo ::bar) { notBlank() inValues( " GREEN " , " WHITE " , " RED " ) } property( Foo ::bax) { min( 3 ) email() } property( Foo ::baz) { validByScript(lang = " groovy " , script
【文件预览】:
kalidation-master
----gradlew(6KB)
----settings.gradle(33B)
----.github()
--------workflows()
----build.gradle.kts(3KB)
----src()
--------test()
--------main()
----README.MD(7KB)
----LICENSE(1KB)
----gradle()
--------wrapper()
----gradlew.bat(3KB)
----.gitignore(30B)
----Kalidation-logo.png(12KB)