gopy/_examples/maps/maps.go

17 lines
311 B
Go
Raw Normal View History

// Copyright 2015 The go-python Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package maps
func MapsFunc(t map[string]int) {
}
func MapsFunc2() map[int]string {
return map[int]string{
2015-09-03 18:01:58 +00:00
1: "hello",
2: "world",
}
}