fix:增补一些说明。
This commit is contained in:
parent
1f2303bd25
commit
ee356fd4aa
|
@ -56,6 +56,10 @@ ImportSpec = [ "." | PackageName ] ImportPath .
|
|||
ImportPath = string_lit .
|
||||
```
|
||||
|
||||
```admonish tip
|
||||
对于上述定义中出现的`string_lit`可以参考后续基础数据类型章节中的定义。
|
||||
```
|
||||
|
||||
## 引入的包在代码中的使用
|
||||
|
||||
一个包在使用`import`关键字引入之后就可以在当前代码文件中使用了,但是使用的时候需要记住的是,引入的内容需要通过包名来访问。
|
||||
|
|
Loading…
Reference in New Issue
Block a user