8000 chore: remove apitypings specific go.mod by Emyrk · Pull Request #15899 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

chore: remove apitypings specific go.mod #15899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Dec 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
linting
  • Loading branch information
Emyrk committed Dec 18, 2024
commit 25093ec5c361a71c04c9ae36815244c0084b7b19
4 changes: 3 additions & 1 deletion scripts/apitypings/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import (
"fmt"
"log"

"golang.org/x/xerrors"

"github.com/coder/guts"
"github.com/coder/guts/bindings"
"github.com/coder/guts/config"
Expand Down Expand Up @@ -104,7 +106,7 @@ func TypeMappings(gen *guts.GoParser) error {
"encoding/json.RawMessage": "map[string]string",
})
if err != nil {
return fmt.Errorf("include custom: %w", err)
return xerrors.Errorf("include custom: %w", err)
}

return nil
Expand Down
Loading
0