Debian Codegraph @

generate/testdata/complicated_pkg/complicated_pkg.go

raw symbols SCIP
1 // Copyright 2012 Aaron Jacobs. All Rights Reserved.
2 // Author: [email protected] (Aaron Jacobs)
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15
16 // Package complicated_pkg contains an interface with lots of interesting
17 // cases, for use in integration testing.
18 package complicated_pkg
19
20 import (
21 "image"
22 "io"
23 "net"
24
25 "github.com/jacobsa/oglemock/generate/testdata/renamed_pkg"
26 )
27
28 type Byte uint8
29
30 type ComplicatedThing interface {
31 Channels(a chan chan<- <-chan net.Conn) chan int
32 Pointers(a *int, b *net.Conn, c **io.Reader) (*int, error)
33 Functions(a func(int, image.Image) int) func(string, int) net.Conn
34 Maps(a map[string]*int) (map[int]*string, error)
35 Arrays(a [3]string) ([3]int, error)
36 Slices(a []string) ([]int, error)
37 NamedScalarType(a Byte) ([]Byte, error)
38 EmptyInterface(a interface{}) (interface{}, error)
39 RenamedPackage(a tony.SomeUint8Alias)
40 Variadic(a int, b ...net.Conn) int
41 }