Upgrade Go to 1.15 (#432)
* Upgrade Go to 1.15 * fix string conversion warn
This commit is contained in:
parent
c69d5ea2ca
commit
3efcb40430
|
@ -21,7 +21,7 @@ jobs:
|
|||
name: Build ${{ matrix.target_os }}_${{ matrix.target_arch }} binaries
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
GOVER: 1.14.3
|
||||
GOVER: 1.15
|
||||
GOOS: ${{ matrix.target_os }}
|
||||
GOARCH: ${{ matrix.target_arch }}
|
||||
GOPROXY: https://proxy.golang.org
|
||||
|
|
|
@ -203,7 +203,7 @@ func (t *Binding) Invoke(req *bindings.InvokeRequest) (*bindings.InvokeResponse,
|
|||
}
|
||||
|
||||
req.Metadata["max_tweet_id"] = search.Metadata.MaxIDStr
|
||||
req.Metadata["tweet_count"] = string(search.Metadata.Count)
|
||||
req.Metadata["tweet_count"] = strconv.Itoa(search.Metadata.Count)
|
||||
req.Metadata["search_ts"] = time.Now().UTC().String()
|
||||
|
||||
ir := &bindings.InvokeResponse{
|
||||
|
|
Loading…
Reference in New Issue