1// compile 2 3// Copyright 2023 The Go Authors. All rights reserved. 4// Use of this source code is governed by a BSD-style 5// license that can be found in the LICENSE file. 6 7package p 8 9func New() resource { 10 return &Client{} 11} 12 13type resource interface { 14 table() 15} 16 17type Client struct { 18 m map[Key1]int 19} 20 21func (c *Client) table() {} 22 23type Key1 struct { 24 K Key2 25} 26 27type Key2 struct { 28 f [2]any 29} 30