Document management in golang

Source: Internet
Author: User
Document management in golang
/Copyright 2013 The Go Author. all Right reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE role Le. /* Package foo implements a set of simple mathematical functions. these comments are fordemonstration purpose only. nothing more. if you have any questions, please don't hesitate to add yourself togolang-uns@googlegroups.com. you can alse visit golang.org for full Go documentation. */packagefoo import ("fmt") // Foo compares the two input values and retrens the larger // Value, If the two values are equal, return 0. func Foo (a, bint) (retint, err error) {ifa> B {returna, nil} else {returnb, nil} return0, nil} // BUG (jack ): #1: I'm sorry but this code has an issue to be solved. // BUG (tom): #2: An issue assigned to anothoer person.

 

 

 

Go doc foo. go
1234567891011121314151617181920 Package documentation packagefoo import "D: \ gotest \ src" FUNCTIONS func Foo (a, bint) (retint, err error) Foo compares the two input values and retrens the larger Value, if the two values are equal, return0.bugs #1: I'm sorry butthiscode has an issue to be solved. #2: An issue assigned to anothoer person.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.