Skip to content

Commit

Permalink
Prefer any over interface{} (#3438)
Browse files Browse the repository at this point in the history
* Find and replace interface{} with any

Signed-off-by: Steve Coffman <steve@khanacademy.org>

* tweak spacing of generated file after interface to any

Signed-off-by: Steve Coffman <steve@khanacademy.org>

* Add any/interface{} for conditionals and regenerate

Signed-off-by: Steve Coffman <steve@khanacademy.org>

* Update golang.org/x/net to v0.33.0 for security lint

Signed-off-by: Steve Coffman <steve@khanacademy.org>

---------

Signed-off-by: Steve Coffman <steve@khanacademy.org>
  • Loading branch information
StevenACoffman authored Dec 20, 2024
1 parent fbe0246 commit c17abcc
Show file tree
Hide file tree
Showing 123 changed files with 4,905 additions and 4,901 deletions.
170 changes: 85 additions & 85 deletions _examples/chat/generated.go

Large diffs are not rendered by default.

156 changes: 78 additions & 78 deletions _examples/config/generated.go

Large diffs are not rendered by default.

168 changes: 84 additions & 84 deletions _examples/dataloader/generated.go

Large diffs are not rendered by default.

144 changes: 72 additions & 72 deletions _examples/deferexample/generated.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _examples/embedding/subdir/directives.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/embedding/subdir/entity.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

126 changes: 63 additions & 63 deletions _examples/embedding/subdir/gendir/generated.go

Large diffs are not rendered by default.

110 changes: 55 additions & 55 deletions _examples/embedding/subdir/prelude.generated.go

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions _examples/embedding/subdir/root.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/embedding/subdir/root_.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c17abcc

Please sign in to comment.