Debian Codegraph @

_test/type2.go

raw symbols SCIP
1 package main
2
3 import (
4 "fmt"
5 "time"
6 )
7
8 type Options struct {
9 debug bool
10 }
11
12 type T1 struct {
13 opt Options
14 time time.Time
15 }
16
17 func main() {
18 t := T1{}
19 t.time = time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC)
20 fmt.Println(t.time)
21 }
22
23 // Output:
24 // 2009-11-10 23:00:00 +0000 UTC