Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add golang error chain #4088

Closed
Closed
Labels
@yunx-lee

Description

What do you want to change?

When executing SQL, fatal errors may occur, and the generated code now returns as is when SQL encounters an error. I hope to configure the query function to wrap an error such as fmt. Error ("query: CreateUeser:% w", err) when SQL encounters an error. Here, "query" is the package name of the generated code, and "CreateUeser" is the name of the generated query function

What database engines need to be changed?

No response

What programming language backends need to be changed?

Go

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /