") == -1) { html = " " + html; } html = html.replace("",""); html = html.replace("",""); html = html.replace("",""); html = html.trim(); doc.innerHTML = html; return ( doc.innerHTML.toLowerCase() === html.toLowerCase() ); } function codeCheckWarningClose() { document.getElementById("codeCheckWarning").style.display = "none"; } function codeCheckCorrectClose() { document.getElementById("codeCheckCorrect").style.display = "none"; }
菜单
×
×
正确!

练习

Go 中的注释是用什么特殊字符写的?.

package main import ("fmt") func main() { // this is a comment fmt.Println("Hello World!") }

不正确

点击 这里 重新尝试。

正确!

下一题 ❯
package main import ("fmt") func main() {  this is a comment fmt.Println("Hello World!") }

    
  




 

GO 语法
GO 注释
GO 变量
GO 数据类型
GO 数组
GO 运算符
GO 条件语句
GO switch 语句
GO 循环
GO 函数

×

重置分数?

这将重置所有 28 道练习的分数。

您确定要继续吗?



×

恭喜!

您已经完成了所有 28 道 GO 练习。

分享您的分数