Giter VIP home page Giter VIP logo

spshovel's People

Contributors

sinmetal avatar tenntenn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spshovel's Issues

環境変数でSpanner DBを設定する機能

WHAT

Spannerに関する設定値を、flagではなく環境変数から受け取る機能
flagがある場合は、flagで上書きする感じにする

export SPANNER_PROJECT_ID=${YOUR_SPANNER_PROJECT}
export SPANNER_INSTANCE_ID=${YOUR_SPANNER_INSTANCE}
export SPANNER_DATABASE_ID=${YOUR_SPANNER_DATABASE}

WHY

複数回同じDBのQueryを実行する時に、毎回 flagで指定するのはめんどうなので

command line tool

WHAT

command line toolとして動くようにする。
https://github.com/spf13/cobra を使うとよさそう。

WHY

go run で動かすには goを動かす環境を用意する必要があるので、さくっとcommand line toolとしてinstallできた方が便利

change hake package

WHAT

github.com/sinmetal/hake から github.com/gcpug/hake にお引越しする。
その時、暫定的な spanner.GenericColumnValue をCSV変換する処理を修正する

WHY

github.com/sinmetal/hakegithub.com/gcpug/hake に移動する予定。
github.com/sinmetal/hake に暫定的な spanner.GenericColumnValue をCSV変換する処理を作っちゃってるのが、もっといいやつに変わるはず。

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.