package
0.0.0-20241221133319-1fcc7c34316a
Repository: https://github.com/shukubota/go-playground.git
Documentation: pkg.go.dev

# README

UPDATE

Starting from version 1.26 Serverless Framework includes two Golang templates:

  • aws-go - basic template with two functions
  • aws-go-dep - recommended template using dep package manager

You can use them with create command:

serverless create -t aws-go-dep

Original README below.


Serverless Template for Golang

This repository contains template for creating serverless services written in Golang.

Quick Start

  1. Create a new service based on this template
serverless create -u https://github.com/serverless/serverless-golang/ -p serverless-template
  1. Compile function
cd serverless-template
GOOS=linux go build -o bin/main

# scraping用
GOOS=linux go build -o bin/searchContent ./searchContent

# deviceToken用
GOOS=linux go build -o bin/registerDeviceToken ./registerDeviceToken

# line用
GOOS=linux go build -o bin/line ./line
  1. Deploy!
serverless deploy --region ap-northeast-1

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author

# Structs

No description provided by the author