issues Search Results · repo:go-openapi/strfmt language:Go
Filter by
38 results
(56 ms)38 results
ingo-openapi/strfmt (press backspace or delete to remove)Simply put, if you parse strfmt.ParseDuration( -1h ), you will correctly get minus 1 hour. However, when using the
enhanced durations like d/w, you will not get a negative duration, but a positive one. ...
gabizou
- 2
- Opened on Jan 21
- #143
Repro:
dt := strfmt.NewDateTime()
fmt.Println( iszero , dt.IsZero())
Output:
iszero false
Want:
iszero true
The NewDateTime documentation says: NewDateTime is a representation of zero value for DateTime ...
prashantv
- Opened on Jan 10
- #141
The switch to pointer receivers to fix #106 broke YAML marshalling of strfmt.DateTime when used with a omitempty value
field.
Repro:
details
package main
import (
fmt
time
...
prashantv
- Opened on Jan 10
- #139
we send azure alerts to alertmanager. alertmanager parse the url
https://github.com/prometheus/alertmanager/blob/d7ad5e12f8f823ec64e4e84e91d926b6a8e60f71/cli/alert_add.go#L127C25-L127C28
https://portal.azure.com#@930d042f-8145.... ...
holger-waschke
- Opened on May 15, 2024
- #131
I think this is a regression after https://github.com/go-openapi/strfmt/pull/105, particularly this line:
func (t DateTime) IsZero() bool {
return time.Time(t).IsZero()
}
I think IsZero() func should ...
pavel-boldyrev-form3
- 1
- Opened on Mar 27, 2023
- #106
Is there a way to make it work with https://github.com/deepmap/oapi-codegen ?
I couldn t find any documentation on that.
desecho
- 1
- Opened on Jun 28, 2022
- #101
// UnmarshalBSONValue is an interface implemented by types that can unmarshal a
// BSON value representation of themselves. The BSON bytes and type can be
// assumed to be valid. UnmarshalBSONValue must ...
bug
dimovnike
- 5
- Opened on Jan 28, 2022
- #97
Our project is using go-openapi/strfmt and we are getting security alerts for mongo-driver 1.4.3 which is used by
go-openapi/strfmt. According to this:
https://github.com/vmware-tanzu/astrolabe/security/dependabot/go.mod/go.mongodb.org%2Fmongo-driver/open ...
dsu-igeek
- 2
- Opened on Jan 19, 2022
- #95
Hostname RegEx should support a TLD that exists in the IANA list of TLDs at
http://data.iana.org/TLD/tlds-alpha-by-domain.txt, e.g. XN--11B4C3D, or कॉम.
Currently it disallows numbers and hyphen in the ...
enhancement
candita
- 3
- Opened on Jan 12, 2022
- #94
ISO 8601 datetime allow +00:00 for time zone. For example, 2021-11-23T14:29:59+08:00 is legal.
via wikipedia https://en.wikipedia.org/wiki/ISO_8601
So, https://github.com/go-openapi/strfmt/blob/master/time.go#L60 ...
enhancement
alswl
- 2
- Opened on Nov 23, 2021
- #92

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.