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.
9 type ResourceFunc struct {
11 base assignmentBaseResource
14 type SubscriptionAssignmentResource struct {
15 base assignmentBaseResource
18 type assignmentBaseResource struct{}
21 func (a assignmentBaseResource) f(s string) ResourceFunc {
27 func (r SubscriptionAssignmentResource) Hi() ResourceFunc {
28 rf := r.base.f("Hello world")
34 var r SubscriptionAssignmentResource