@kjk1/

gobook interface verify implements

Go

No description

fork
loading
Files
  • main.go

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.12515958953486406","path":"main.go","file":{"path":"main.go","content":{"asEncoding":{"base64":"Ly8gYWxsb3cgZXJyb3IKcGFja2FnZSBtYWluCgppbXBvcnQgImlvIgoKLy8gOnNob3cgc3RhcnQKdHlwZSBNeVJlYWRDbG9zZXIgc3RydWN0IHsKfQoKZnVuYyAocmMgKk15UmVhZENsb3NlcikgUmVhZChkIFtdYnl0ZSkgKGludCwgZXJyb3IpIHsKCXJldHVybiAwLCBuaWwKfQoKdmFyIF8gaW8uUmVhZENsb3NlciA9ICZNeVJlYWRDbG9zZXJ7fQoKLy8gOnNob3cgZW5kCgpmdW5jIG1haW4oKSB7Cn0="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// allow error
package main

import "io"

// :show start
type MyReadCloser struct {
}

func (rc *MyReadCloser) Read(d []byte) (int, error) {
	return 0, nil
}

var _ io.ReadCloser = &MyReadCloser{}

// :show end

func main() {
}