File: b.go

package info (click to toggle)
gocode 0~git20140530-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 760 kB
  • ctags: 492
  • sloc: lisp: 212; tcl: 60; python: 55; sh: 50; ruby: 46; makefile: 9
file content (24 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package main

// this is a file 'a.go'

import (
	superos "os"
)

func B() superos.Error {
	return nil
}

// notice how changing type of a return function in one file,
// the inferred type of a variable in another file changes also

func (t *Tester) SetC() {
	t.c = 31337
}

func (t *Tester) SetD() {
	t.d = 31337
}

// support for multifile packages, including correct namespace handling