Skip to content

Commit 196e2e9

Browse files
authored
Correct 'ype' to 'type' in Fooer interface (#63)
Fix typo in the interface definition in wire.md.
1 parent 337cd44 commit 196e2e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/community/pkgs/di/wire.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ func main() {
309309
有时候,依赖注入时会将一个具体的实现注入到接口上。wire 在依赖注入时,是根据类型匹配来实现的。
310310

311311
```go
312-
ype Fooer interface {
312+
type Fooer interface {
313313
Foo() string
314314
}
315315

0 commit comments

Comments
 (0)