Home > Backend Development > Golang > Introducing the present of golang tools

Introducing the present of golang tools

藏色散人
Release: 2021-02-12 09:12:03
forward
3100 people have browsed it

The following column golang tutorial will introduce you to the present of golang tools. I hope it will be helpful to friends who need it!

Introducing the present of golang tools

golang tool present

Golang Present is a simple tool developed by the Golang community. Through simple The syntax can be used to create ppt (the syntax is similar to Markdown).

Introduction

Golang-related technical slides are available in a variety of formats, mainly .ppt, .pdf and .slide. The
.slide format is a present format that emerged with the birth of golang. Go core development members seem to like sharing the Go language in this format. On the Golang official website, talk slides for almost all technical conferences are provided in the form of .slide. The .slide file is viewed through a web service. There is a tool called present that can view the .slide file locally.

Installation

// 下载
go get -u golang.org/x/tools/cmd/present 
// 安装
go install golang.org/x/tools/cmd/present
Copy after login

Use

In the working directory, execute the present command to start a server.
For example, my working directory is $GOPATH/src/github.com/golang/talks. After starting the service, the following prompt appears:

2017/05/13 22:21:21 Open your web browser and visit http://127.0.0.1:3999
Copy after login

This indicates that the service is started successfully. , and then you can write the slide file. The syntax of the
present file can be viewed in go doc

Digression: For some reason, some code uses go get Unable to obtain, here are two recommended websites that may better solve this pain point.

  • Services provided by golang China
  • Services provided by go language package management

More go language related technical articles, Please visit the go language tutorial column!

The above is the detailed content of Introducing the present of golang tools. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template