首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在godoc中添加一个标题

在godoc中添加一个标题
EN

Stack Overflow用户
提问于 2016-09-23 21:14:39
回答 1查看 151关注 0票数 1

我正试图在我的godoc中添加一个标题。我已经提到教条主义了。我的godoc看起来如下:

代码语言:javascript
复制
// Package hello-world provides a helloworld example
//
// Pre-requisites
//
//  * Go 1.5+
//  * Linux or MacOS
//  * https://onsi.github.io/ginkgo/ for executing the tests
//
//
package hello_world

但是,政府正以以下方式出现,但前提条件不是标题:-

有人能告诉我出了什么问题吗?

环境:-

  • 去1.7
  • Mac Capitan
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-09-23 21:33:47

这份清单似乎造成了这个问题。您可能想为此创建一个问题。

如果在列出先决条件之前添加了任何行,它将如预期的那样工作:

代码语言:javascript
复制
// Package hello-world provides a helloworld example
//
// Pre-requisites
//
// You need to have the following:
//  * Go 1.5+
//  * Linux or MacOS
//  * https://onsi.github.io/ginkgo/ for executing the tests
//
//
package hello_world
票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39669660

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档