An open API service indexing awesome lists of open source software.

https://github.com/devhindo/goref

my reference to Go
https://github.com/devhindo/goref

Last synced: 2 months ago
JSON representation

my reference to Go

Awesome Lists containing this project

README

          

## Table of Contents

- [keywords](#keywords)
- [builtin functions](#builtin-functions)
- [standard library](#standard-library)
- [common packages](#common-packages)

## keywords

(25 keyword)
- `package`: defines a package.
- `import`: imports a package.
- `func`: defines a function.
- `return`: exits a function.
- `var`: declares a variable.
- `const`: declares a constant.
- `type`: declares a type.
- `struct`: defines a new data type.
- `break`: exits a loop.
- `case`: a case inside a switch statement.
- `chan`: defines a new channel.
- `defer`: defers a function.
- `else`: else statement.
- `fallthrough`: transfers control to the next case.
- `for`: loop keyword.
- `go`: starts a goroutine.
- `if`: if statement.
- `interface`: defines an interface.
- `map`: defines a map.
- `range`: iterates over items in a variety of data structures.
- `select`: works with channels.
- `switch`: works with multiple conditions.

## builtin functions

- `len()`: returns the length of `v` according to its type. | `func len(v Type) int`
- `cap()`: returns the capacity of a slice.
- `append()`: appends elements to a slice | `func append(slice []Type, elems ...Type) []Type`
- `copy()`: copies elements from one slice to another.

## standard library

- `fmt`: formatting I/O.
- `os`: operating system interfaces.
- `io`: basic I/O interfaces.

## common packages