Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewWithFuncI (0.09 sec)

  1. test/fixedbugs/issue52128.dir/p.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    import (
    	"./a"
    	"./b"
    )
    
    func f() {
    	a.NewWithFuncI((&b.S{}).M1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 19:20:41 UTC 2022
    - 239 bytes
    - Viewed (0)
  2. test/fixedbugs/issue52128.dir/a.go

    // license that can be found in the LICENSE file.
    
    package a
    
    type I interface{}
    
    type F func()
    
    type s struct {
    	f F
    }
    
    func NewWithF(f F) *s {
    	return &s{f: f}
    }
    
    func NewWithFuncI(func() I) *s {
    	return &s{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 19:20:41 UTC 2022
    - 322 bytes
    - Viewed (0)
Back to top