myhead's People
myhead's Issues
readme書く
usage周り整える
deferでclose追加
test通す
コードの引数、戻り値の関係が変わったので再びtestを通す
main関数内でひとつerr評価忘れてるのでする
抽象化する
cliArgとかが有りだと思うけど、そこまでやる規模か?というのはある、優先度低め
remoteアクセス機能を作る
割とでかめ
alias周り調査する
純粋なGoのコードからコマンドのalias貼れるはずなので調査する
また、実質 ~/go/bin/myhead
を呼ぶはずなので、任意のディレクトリで myhead ../test.go
とかされたときに ~/go/test.go
ファイルを読もうとするはずなので、ちょっと考えないといけない
test記述
testingでテストを書く
コマンドライン実行時の引数をテストで再現できるか調査
テスト実行時に引数渡すのはイケてないので偽装したい。
flagかis.Argsとかを直接偽装できれば可能そう。
そうするとして、実装を変更する必要がある
作業量多め
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.