[Go/zh-cn] Update the Simple Chinese Version of Golang#5450
Open
kbyyd24 wants to merge 4 commits intoadambard:masterfrom
Open
[Go/zh-cn] Update the Simple Chinese Version of Golang#5450kbyyd24 wants to merge 4 commits intoadambard:masterfrom
kbyyd24 wants to merge 4 commits intoadambard:masterfrom
Conversation
Collaborator
|
我搜了一下,好像有 塑形 这种说法,不过感觉现在一般就说 类型转换 了 |
imba-tjd
approved these changes
Dec 27, 2025
Author
哦,我搜错了,搜成 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[language/lang-code](example[python/fr]for Python in French or[java]for multiple Java translations)Description of the changes
类似java中的塑型, which meanssimilar to 塑形 in java. But there is no terminology called塑形in Java.类似java中的序列化, which meanssimilar to serialization in java. Butserializationis a very abstract and more complex concept. ThetoString()method in Java is closer to the exampleString().用make来声明一个slicemeansuse make to declare a slice. This doesn't explain the example correctly and is not the same with the English versionSame make function used earlier to make a slice.Initialize a slice with make as in the previous example, which removes ambiguity.