From 6c3c3c414a499865d4472cb9835379dcae461cda Mon Sep 17 00:00:00 2001 From: HunterChen <1480811935cyt@gmail.com> Date: Thu, 20 Nov 2025 11:21:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Go=E8=AF=AD=E8=A8=80=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=96=87=E6=A1=A3=E4=B8=AD=E7=9A=84=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Go\350\257\255\350\250\200\346\216\245\345\217\243.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/Go\350\257\255\350\250\200\347\263\273\345\210\227/Go\350\257\255\350\250\200\345\237\272\347\241\200/Go\350\257\255\350\250\200\346\216\245\345\217\243.md" "b/Go\350\257\255\350\250\200\347\263\273\345\210\227/Go\350\257\255\350\250\200\345\237\272\347\241\200/Go\350\257\255\350\250\200\346\216\245\345\217\243.md" index 31ba18d..b7b7dd4 100644 --- "a/Go\350\257\255\350\250\200\347\263\273\345\210\227/Go\350\257\255\350\250\200\345\237\272\347\241\200/Go\350\257\255\350\250\200\346\216\245\345\217\243.md" +++ "b/Go\350\257\255\350\250\200\347\263\273\345\210\227/Go\350\257\255\350\250\200\345\237\272\347\241\200/Go\350\257\255\350\250\200\346\216\245\345\217\243.md" @@ -12,7 +12,7 @@ tags: Go语言中的接口很简单,就是一组方法的声明。当某一种类型实现了所有这些声明的方法,那么就称这种类型为该接口的一种实现。 ## 接口定义 -Go语言中同样用关键字``interfac`e`来定义,接口的定义格式如下: +Go语言中同样用关键字`interface`来定义,接口的定义格式如下: ```go type 接口名 interface { 方法名1(参数列表1) (返回值列表1)