crawlab-team / crawlab-go-sdk

Crawlab Go SDK
BSD 3-Clause "New" or "Revised" License
8 stars 9 forks source link

'github.com/crawlab-team/crawlab-go-sdk' is a program, not an importable package #2

Open happynessTony opened 3 years ago

tikazyq commented 3 years ago

Is there any error messages?

5idu commented 2 years ago

@happynessTony 因为本项目也声明了一个main.go文件(见下面截图),所以导致你那个问题。 导入"github.com/crawlab-team/crawlab-go-sdk/utils"包,使用SaveItem功能即可 image