File: fields_go_old.go

package info (click to toggle)
golang-github-aws-aws-sdk-go 1.44.133-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-proposed-updates
  • size: 245,296 kB
  • sloc: makefile: 120
file content (16 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//go:build !go1.9
// +build !go1.9

package dynamodbattribute

var fieldCache fieldCacher

type fieldCacher struct{}

func (c fieldCacher) Load(t interface{}) (*cachedFields, bool) {
	return nil, false
}

func (c fieldCacher) LoadOrStore(t interface{}, fs *cachedFields) (*cachedFields, bool) {
	return fs, false
}