File: test.go.in

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 (29 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (2)
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
27
28
29
package main

// this is a file 'a.go'

import (
	localos "os"
)

func A() localos.Error {
	return nil
}

// B() is defined in file 'b.go'
var test = B()

type Tester struct {
	a, b, c, d int
}

func (t *Tester) SetA() {
	t.a = 31337
}

func (t *Tester) SetB() {
	t.b = 31337
}

// methods SetC and SetD are defined in 'b.go'