1
0
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:
Ink-33 2021-01-13 03:55:28 +08:00
parent 0c3ba714f7
commit c9c6e48b8c
No known key found for this signature in database
GPG Key ID: 5D8B1D036EFB0D2E
2 changed files with 26 additions and 0 deletions

View 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")
}

View 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")
}