You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 23.10
Release: 23.10
Codename: mantic
Hello Horst, I am using pdfcpu as a library. I found that the FieldType structure in the form package is not following the standard Stringer interface to stringify itself.
Using the stringer interface is a good practice so external packages can print (fmt.Printf("%s", fieldType)) and access its string representation.
Hello Horst, I am using pdfcpu as a library. I found that the FieldType structure in the form package is not following the standard Stringer interface to stringify itself.
Using the stringer interface is a good practice so external packages can print (
fmt.Printf("%s", fieldType)
) and access its string representation.Source : The Stringer interface from the fmt package (https://pkg.go.dev/fmt#Stringer)
I created on fix on my fork if you are interested: 7576369.
I think that this fix is low risk because the current
string()
method is called only twice in the form package.The text was updated successfully, but these errors were encountered: