See: https://github.com/golang/go/issues/5266
Essentially, you need to recompile go with:
export GO386=387
export GOOS=linux
export GOARCH=386
Then you can successfully build using the same. (This allowed go to work on
my Alix board.) Worked for Go 1.1beta, might still work now.
On Saturday, 13
You could avoid allocations altogether by reusing the same byte array and
passing it to the function.
To retain readability, use a buffer and fmt.Fprintf
On Saturday, 11 November 2017 04:00:48 UTC+13, Vasiliy Tolstov wrote:
>
> Thanks, i know that optimization can lead obscurity, but for critica
On Friday, 10 November 2017 13:52:51 UTC+13, krolaw wrote:
>
> func oid2filepath(cfg *Config, oID uint64) string {
>return fmt.Sprintf("%s%c%x%c%016x", cfg.WorkDir, filepath.Separator,
> oid2vid(oID), filepath.Separator, oID)
> }
>
> On Friday, 10 Novembe
func oid2filepath(cfg *Config, oID uint64) string {
return fmt.Sprintf("%s%c%x%c%016x", cfg.WorkDir, filepath.Seperator,
oid2vid(oID), filepath.Seperator, oID)
}
On Friday, 10 November 2017 09:58:03 UTC+13, Vasiliy Tolstov wrote:
>
> Hi. I have server that read/write data to many files (each
Just confirming, you are uploading each file as you're downloading it. Not
downloading completely, then decompressing completely, followed by uploading.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop rec
Hopefully someone can explain where my understanding of dataraces is wrong.
As an example, I'd like to use the appengine cloudstorage example:
https://cloud.google.com/appengine/docs/go/googlecloudstorageclient/app-engine-cloud-storage-sample#specifying_the_cloud_storage_bucket
When a web reques
That XPS laptop has an SSD drive. Does your desktop?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options,
Hi,
I'm using github.com/mattn/go-sqlite3 through database/sql. I want to
register a go func with sqlite, for the purposes of converting timestamps
from UTC to the current locale of the current user. This would then allow
me to GROUP records together depending on which "day" the records belon