Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for makeStringer (0.26 sec)

  1. test/fixedbugs/issue15528.go

    func (x *RWS) Seek(offset int64, whence int) (n int64, err error) { return }
    func (x *RWS) String() string                                     { return "rws" }
    
    func makeRWS() io.ReadWriteSeeker { return &RWS{} }
    func makeStringer() fmt.Stringer  { return &RWS{} }
    
    // Test correct construction of static empty interface values
    var efaces = [...]struct {
    	x interface{}
    	s string
    }{
    	{nil, "<nil> <nil>"},
    	{1, "int 1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 12 14:31:26 UTC 2016
    - 3.1K bytes
    - Viewed (0)
Back to top