generated from cheqd/.github
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support date only format with versionTime, resourceTime query p…
…arameters [DEV-2807] (#165) * Add implementation for supporting different formats of date in versionTime and resourceVersionTime queries. * Add positive integration tests for versionTime query parameter. * Remove unused date formats. * Refactor code. * Update positive version time integration tests. * Update integration test. * Add positive integration tests for testing resourceVersionTime query. * Update Makefile. * Add implementation for supporting more date types: - Layout - ANSIC - UnixDate - RubyDate - RFC822 - RFC822Z - RFC850 - RFC1123 - RFC1123Z * Add more positive integration test for testing different date formats. * Refactor code. * Add positive integration tests for testing resourceVersionTime query with different date formats. * Add negative integration tests for testing versionTime and resourceVersionTime queries with an invalid date format. * Use constants variables instead of magic strings. * Update golang version in Dockerfile. * Bump golang version from v1.18 to v1.20 in go.mod.
- Loading branch information
1 parent
d74c1c5
commit 690e0b9
Showing
9 changed files
with
512 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/cheqd/did-resolver | ||
|
||
go 1.18 | ||
go 1.20 | ||
|
||
require ( | ||
github.com/cheqd/cheqd-node/api/v2 v2.1.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.