Sunghun Kim
Sunghun Kim
In some cases, I pass many variables via **map[string]interface{}** A string can be printed with and hero will generate: `hero.EscapeHTML(fmt.Sprintf("%v", model["errorMsg"]), _buffer)` I think it would be handy if there...
``` package main import ( "fmt" "time" "github.com/sdcoffey/big" "github.com/sdcoffey/techan" ) func calcSma(series *techan.TimeSeries, days int) []big.Decimal { closePrices := techan.NewClosePriceIndicator(series) sma := techan.NewSimpleMovingAverage(closePrices, days) cnt := len(series.Candles) ret := make([]big.Decimal,...
어쩌다가 이런 데이터가 들어가는 경우를 발견했는데요, ``` $ python3 Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 23 2015, 02:52:03) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits"...
How can I set the content type of the uploading file? (for example, image/jpeg) I tried to set the .ContentType member of returned value from obj.Attrs() but it seems that...