Git Product home page Git Product logo

serverless-iidx-csv-parser's Introduction

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 myservice
  1. Compile function
cd myservice
GOOS=linux go build -o bin/main
  1. Deploy!
serverless deploy

Example

You need csv file on root directory if you run it.

run & result
$ serverless invoke -f parse
{
    "version": "1st&substream",
    "title": "GRADIUSIC CYBER",
    "genre": "DIGI-ROCK",
    "artist": "TAKA",
    "playcount": 1,
    "normal": {
        "level": 5,
        "exscore": 0,
        "pgreat": 0,
        "great": 0,
        "miss": 0,
        "cleartype": "NO PLAY",
        "djlevel": "---"
    },
    "hyper": {
        "level": 6,
        "exscore": 0,
        "pgreat": 0,
        "great": 0,
        "miss": 0,
        "cleartype": "NO PLAY",
        "djlevel": "---"
    },
    "another": {
        "level": 7,
        "exscore": 697,
        "pgreat": 260,
        "great": 177,
        "miss": 27,
        "cleartype": "CLEAR",
        "djlevel": "B"
    },
    "lastplayeddate": "2017-10-12T13:24:00Z"
}

serverless-iidx-csv-parser's People

Contributors

mizukmb avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.