victorspringer / http-cache

High performance Golang HTTP middleware for server-side application layer caching, ideal for REST APIs
https://godoc.org/github.com/victorspringer/http-cache
MIT License
339 stars 63 forks source link

Cannot build for 386 architecture #4

Closed orsinium closed 5 years ago

orsinium commented 5 years ago

Cannot build for 386 architecture for any platform. Constant frequency := 9999999999999 is too big :)

$ GOARCH=386 go build -o lol github.com/victorspringer/http-cache/adapter/memory
# github.com/victorspringer/http-cache/adapter/memory
../../go/src/github.com/victorspringer/http-cache/adapter/memory/memory.go:108:15: constant 9999999999999 overflows int
victorspringer commented 5 years ago

@orsinium thanks for reporting. I'm going to fix it!

victorspringer commented 5 years ago

Fixed.