mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-04 12:52:27 +08:00
20 lines
388 B
Go
20 lines
388 B
Go
// +build !linux linux,!cgo
|
||
|
||
//Package msgaudit for unsupport platform
|
||
package msgaudit
|
||
|
||
import (
|
||
"fmt"
|
||
|
||
"github.com/silenceper/wechat/v2/work/config"
|
||
)
|
||
|
||
// Client 会话存档
|
||
type Client struct {
|
||
}
|
||
|
||
// NewClient new
|
||
func NewClient(cfg *config.Config) (*Client, error) {
|
||
return nil, fmt.Errorf("会话存档功能目前只支持Linux平台运行,并且打开设置CGO_ENABLED=1")
|
||
}
|