タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

packageに関するyosu1のブックマーク (2)

  • Go and a Package Focused Design

    Developers often tend to think about designing software in terms of using logical layers of abstractions. I have seen many Go projects with layers of abstractions that reflect grouping of all common things together such as types (model), handlers for all services (api or controllers), and even multi-purpose packages (util). These ways of organizing code are not putting Go package features to good

  • Goと依存パッケージ管理

    gistfile1.md このgistは Cloud Foundry Advent Calendar 2013 の16日目の記事です。 はじめに 現在、CloudFoundryのComponentsはGo化しつつあります。それにより、Rubyで実装されていたものに対して性能向上していたり、ソースが読みやすくなっていたりする(こちらは主観ですが・・)半面、開発者にとっての課題も生まれています。その課題のひとつが__依存パッケージ管理__です。まずはRubyの外部パッケージ管理について簡単に振り返りつつ、Goのそれを見ていこうと思います。 依存パッケージ管理(RubyRubyでは外部パッケージはGemファイルとなっており、大抵の場合、Bundlerで管理します。また、最新版が動くとは限らないため設定ファイルにバージョンを指定してそれを使用します。Gemファイル自体はRubyGems.org

    Goと依存パッケージ管理
  • 1