From c58b6ce780bb92ad6ea1432bd4e38ec8628e52b1 Mon Sep 17 00:00:00 2001 From: amottier Date: Thu, 4 Jul 2019 16:49:16 +0200 Subject: [PATCH] fix golang example --- examples/golang/Gopkg.lock | 14 ++++++++------ examples/golang/Gopkg.toml | 2 +- examples/golang/handler.go | 4 ++-- package.json | 2 +- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/examples/golang/Gopkg.lock b/examples/golang/Gopkg.lock index a208e917..beb68273 100644 --- a/examples/golang/Gopkg.lock +++ b/examples/golang/Gopkg.lock @@ -3,19 +3,21 @@ [[projects]] branch = "master" - name = "gitlab.infra.online.net/paas/scaleway-functions-go" + digest = "1:fb21b671b27f27cd895678d74a57dec2bf7c27470118cc5c47839477bc6388e9" + name = "github.com/scaleway/scaleway-functions-go" packages = [ "events", "lambda", - "lambda/handlertrace", - "lambda/messages", - "lambdacontext" ] - revision = "627460bb686a6bbc48562ba97f70d13c2cf272e9" + pruneopts = "UT" + revision = "e550fb379304786e34ad93c8d466f0d55151d3a8" [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "43077f9f965a55a59d03d8b5f8753adc1f42bcc98ff5c4ea119918eed4b3d0c2" + input-imports = [ + "github.com/scaleway/scaleway-functions-go/events", + "github.com/scaleway/scaleway-functions-go/lambda", + ] solver-name = "gps-cdcl" solver-version = 1 diff --git a/examples/golang/Gopkg.toml b/examples/golang/Gopkg.toml index b4a811c4..c4ba230b 100644 --- a/examples/golang/Gopkg.toml +++ b/examples/golang/Gopkg.toml @@ -27,7 +27,7 @@ [[constraint]] branch = "master" - name = "gitlab.infra.online.net/paas/scaleway-functions-go" + name = "github.com/scaleway/scaleway-functions-go" [prune] go-tests = true diff --git a/examples/golang/handler.go b/examples/golang/handler.go index 4c39340c..47371272 100644 --- a/examples/golang/handler.go +++ b/examples/golang/handler.go @@ -3,8 +3,8 @@ package main import ( "encoding/json" - "gitlab.infra.online.net/paas/scaleway-functions-go/events" - "gitlab.infra.online.net/paas/scaleway-functions-go/lambda" + "github.com/scaleway/scaleway-functions-go/events" + "github.com/scaleway/scaleway-functions-go/lambda" ) // Handler - Handle event diff --git a/package.json b/package.json index 6674decd..5e206a25 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-scaleway-functions", - "version": "0.1.4", + "version": "0.1.5", "description": "Provider plugin for the Serverless Framework v1.x which adds support for Scaleway Functions.", "main": "index.js", "author": "scaleway.com",