29 search resultsShowing 1~20 results

Stocked
junpayment

@junpayment

E2D(End to end - 1)の考察

はじめに レイヤードアーキテクチャ、クリーンアーキテクチャ、DIなどのアーキテクチャを使うリポジトリを前提とした話です。 gitOps,CIで単体パッケージだけで完結する単体テストを行う際に依存...

0
0
Comment0
junpayment

@junpayment

GoLandを使いましょう 2020冬

はじめに この記事はアドベントカレンダー Go5の22日目の記事です。 みなさん、Goのエディタ何を使っていますか? Vim? Vscode? そうですねGolandを使いましょう。 去年も同じ...

2
1
Comment0
junpayment

@junpayment

Go言語テストのやりやすいメソッド

はじめに 思いついたのでメモします。 どういうこと? httpリクエストやDBアクセスするコードを書いた際に本当にサーバにつなぎに行かないで欲しい場合。 コード hoge.go package ...

0
0
Comment0
junpayment

@junpayment

Go言語 キャストvs代入

はじめに structを別structにキャストするときどうすれば早いのかベンチマークとりました。 何と何を? キャストした場合と n := Foo{M: msg} b := Bar(n) メン...

0
0
Comment4
junpayment

@junpayment

go-ginでpprof@Mac

はじめに goのプロファイリングツールをgo-ginを使ったシステム上で動かす方法です。 こちらのpackageを使うことでgo-ginのエンドポイントとしてpprofのエンドポイントを晒すこと...

3
3
Comment0

29 search resultsShowing 1~20 results

Qiita is a knowledge sharing service for engineers.

  1. You can follow users and tags
  2. You can stock useful information
  3. You can make edit suggestions for articles
Functions that can be used after logging in