我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

使用不同的链接文本创建godoc URL

According to the "Godoc: documenting Go code" blog post:

URLs will be converted to HTML links; no special markup is necessary.

However, is there a way to create an HTML link with different link text than the URL?

Godoc.org linkifies text like "RFC 1234" to the online RFC (example here).

With that exception, the godoc tool and godoc.org do not provide a way to use text different from the URL.

近期文章

  • 无法从html / template Golang访问数据
  • 通过父级属性动态解组子XML
  • 如何使用gorethinkdb的地理空间命令进行画圈
  • 我可以在Solaris 5.10上使用golang吗?
  • 嵌套循环的递归实现
  • 转到网页模板为空
  • Golang ZeroMQ:REQ / REP无意义的非阻塞
  • 使用Golang扩展WebSocket连接
  • 来自客户端的简单Websocket连接示例
  • 大猩猩复用器,“捕获”响应代码的最佳方法
  • 如何帮助Go测试找到自定义类型声明?
  • 如何在类型上同时实现fmt.Stringer和error接口?
  • 计算数组中的元素数
  • 通过Golang提供HTML5应用程序
  • 如何调试Gin Web框架
  • 在Go中解组XML元素的异构列表
  • 如何使用golang从Firebase数据库读取特定记录?
  • 将interface {}转换为int go-gin时出错
  • CGO:在LPCWSTR和字符串之间转换
  • 解密大猩猩会话Cookie数据

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华