denisenkom / go-mssqldb

Microsoft SQL server driver written in go language
BSD 3-Clause "New" or "Revised" License
1.82k stars 499 forks source link

Problem with https://github.com/golang-sql/sqlexp package. #750

Open dsuhinin opened 2 years ago

dsuhinin commented 2 years ago

Could you please take a look into this line -> https://github.com/denisenkom/go-mssqldb/blob/1598eaf61e43a1bb1b66231abe49f8613b544d64/token.go#L790. Right now because of incompatible changes here -> https://github.com/golang-sql/sqlexp/commit/d42ba59f5c11011b1df5abc536ee75821c22bdac go-mssqldb packages just sopped working with message:

#5 12.59 pkg/mod/github.com/denisenkom/go-mssqldb@v0.12.0/token.go:790:70: cannot use info.Message (type string) as type fmt.Stringer in field value:
#5 12.59    string does not implement fmt.Stringer (missing String method)

so you probably need to implement Stringer interface.

kardianos commented 2 years ago

Pull latest.

On Thu, May 19, 2022, 13:32 Dmitry Suhinin @.***> wrote:

Could you please take a look into this line -> https://github.com/denisenkom/go-mssqldb/blob/1598eaf61e43a1bb1b66231abe49f8613b544d64/token.go#L790. Right now because of incompatible changes here -> golang-sql/sqlexp@ d42ba59 https://github.com/golang-sql/sqlexp/commit/d42ba59f5c11011b1df5abc536ee75821c22bdac go-mssqldb packages just sopped working with message:

5 12.59 @.***/token.go:790:70: cannot use info.Message (type string) as type fmt.Stringer in field value:

5 12.59 string does not implement fmt.Stringer (missing String method)

so you probably need to implement Stringer interface.

— Reply to this email directly, view it on GitHub https://github.com/denisenkom/go-mssqldb/issues/750, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFYLMJMWRDRB76LZD2M4B3VK2CKTANCNFSM5WNCQ6SA . You are receiving this because you are subscribed to this thread.Message ID: @.***>