Closed iAmWillShepherd closed 2 years ago
Try importing like so:
package main
import (
"context"
"io"
"math/rand"
"net/http"
"os"
"strings"
"testing"
"time"
"github.com/OneSignal/onesignal-go-api"
"github.com/fatih/color"
)
That worked!
I copy and paste the example from this [doc]() and got the following design-time error.
Unknown symbol
*openapiclient
@jmadler mentioned that this could be a typo, so I changed
*openapiclient
toonesignal
as suggested and got another error stating that onesignal could not be imported.Unable to import onesignal package
I'm pretty sure I ran the
go get
sub-command, so this may be a bug.go.mod