File: GoApi.md

package info (click to toggle)
flatbuffers 2.0.8%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,308 kB
  • sloc: cpp: 44,808; python: 6,544; cs: 4,852; java: 4,389; ansic: 1,615; php: 1,455; xml: 973; javascript: 938; sh: 806; makefile: 35
file content (26 lines) | stat: -rw-r--r-- 1,206 bytes parent folder | download | duplicates (28)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Go API
======

\addtogroup flatbuffers_go_api

<!-- Note: The `GoApi_generate.txt` code snippet was generated using `godoc` and
     customized for use with this markdown file. To regenerate the file, use the
     `godoc` tool (http://godoc.org) with the files in the `flatbuffers/go`
     folder.

     You may need to ensure that copies of the files exist in the `src/`
     subfolder at the path set by the `$GOROOT` environment variable. You can
     either move the files to `$GOROOT/src/flatbuffers` manually, if `$GOROOT`
     is already set, otherwise you will need to manually set the `$GOROOT`
     variable to a path and create `src/flatbuffers` subfolders at that path.
     Then copy the flatbuffers files into `$GOROOT/src/flatbuffers`. (Some
     versions of `godoc` include a `-path` flag. This could be used instead, if
     available).

     Once the files exist at the `$GOROOT/src/flatbuffers` location, you can
     regenerate this doc using the following command:
     `godoc flatbuffers > GoApi_generated.txt`.

     After the documentation is generated, you will have to manually remove any
     non-user facing documentation from this file. -->
\snippet GoApi_generated.txt Go API