mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 11:33:48 +08:00
add codec/codec_unsupported.go
This commit is contained in:
parent
0c3ba714f7
commit
c9c6e48b8c
13
global/codec/codec_unsupportedarch.go
Normal file
13
global/codec/codec_unsupportedarch.go
Normal file
@ -0,0 +1,13 @@
|
||||
// +build !386,!arm64,!amd64,!arm
|
||||
|
||||
package codec
|
||||
|
||||
import "errors"
|
||||
|
||||
func Init() error {
|
||||
return errors.New("Unsupport arch now")
|
||||
}
|
||||
|
||||
func EncodeToSilk(record []byte, tempName string, useCache bool) ([]byte, error) {
|
||||
return nil, errors.New("Unsupport arch now")
|
||||
}
|
13
global/codec/codec_unsupportedos.go
Normal file
13
global/codec/codec_unsupportedos.go
Normal file
@ -0,0 +1,13 @@
|
||||
// +build !windows,!linux,!darwin
|
||||
|
||||
package codec
|
||||
|
||||
import "errors"
|
||||
|
||||
func Init() error {
|
||||
return errors.New("not support now")
|
||||
}
|
||||
|
||||
func EncodeToSilk(record []byte, tempName string, useCache bool) ([]byte, error) {
|
||||
return nil, errors.New("not support now")
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user