I had a notification about some issue I commend on
in https://github.com/henrylee2cn/pholcus
Pholcus was a crawler written in Go, no English docs. I starred it, along
with about 6200 others.
I assume the guy was bullied by the Chinese government or parts of it,
maybe killed, who knows,
Hey Sam and Pudds,
thanks for feedback and help. v1.1.7 helped.
I must say go.mod is growing on me, but it's still hindering productivity
or let's say a step back.
If you use Goland, which probably most mousepushers like me use, since
everything is under ~/go/pkg/
even with modules enabled in
The answer is apparently
https://github.com/gin-gonic/gin/issues/2039#issuecomment-527997733
Add this to your go.mod file:
> replace github.com/ugorji/go v1.1.4 => github.com/ugorji/go
> v0.0.0-20190204201341-e444a5086c43
On Tuesday, September 10, 2019 at 2:48:25 PM UTC+2, Darko Luke
What used to work pre go 1.13 now doesn't work anymore
go mod is one big mess no one needs and complicates everything
I'm now getting ambiguity. How do I resolve it?
Nothing compiles anymore
✘ darko@wrk ~/go/src/git.icod.de/dalu/socialthing master ●✚ go mod
tidy
go: extracting
But Twitter is a loose group of individuals, or does it have group
functionality now? Everything is done via #channels last time I checked.
I honestly very rarely use it, too small sized posts, it's very chaotic and
stuff you've seen just now is gone after a reload and can't be found again.
Also
I'm currently writing a forum, I've been doing that for a few months now.
You know how people have a plushi next to the they can talk to in order to
develop ideas, this is my plushi.
And while writing I've been thinking of all the great forum software PHP
has, vbulletin, phpbb to name the most
r the MessageRequest is unmarshalled I can check for the type and
then
payload := new(model.ChatMessage)
if e := json.Unmarshal(m.Payload, payload); e != nil {
logrus.Error(e)
return
}
On Friday, December 14, 2018 at 8:17:25 PM UTC+1, Darko Luketic wrote:
>
> Hello,
>
> I'm
Hello,
I'm sending messages over websocket.
I have a "generic" MessageRequest and MessageResponse struct.
type MessageRequest struct {
Typestring `json:"type"`
Payload interface{} `json:"payload"`
}
type MessageResponse struct {
Typestring `json:"type"`
Payload
I solved it by experimenting.
*ast.Ident for the "string"
*ast.SelectExpr for the package type
Seems like there is no easier way.
On Tuesday, April 17, 2018 at 7:55:13 PM UTC+2, Darko Luketic wrote:
>
> Hi,
>
> I'm trying to parse a file (or rather more files, but l
Hi,
I'm trying to parse a file (or rather more files, but let's keep it simple).
package models
import "github.com/globalsign/mgo/bson"
type Community struct {
Id bson.ObjectId `bson:"_id,omitempty" json:"id"`
OwnerId string`bson:"owner_id" json:"owner_id"`
Yeah I'm not a math wiz and the older I get the harder I find maths.
But sometimes you can't evade maths in programming.
So here's my question for math wizards.
Essentially, I'm trying to write an url shortener.
And I found this package I agree with (don't re-invent the wheel)
Thank you everyone
On Monday, March 26, 2018 at 7:29:15 PM UTC+2, Darko Luketic wrote:
>
> How would I use something like gofmt to format a string in memory?
>
> I wouldn't want to write a temporary file then os.Exec gofmt and re-read
> that file.
> There has to be a better
How would I use something like gofmt to format a string in memory?
I wouldn't want to write a temporary file then os.Exec gofmt and re-read
that file.
There has to be a better way. Did anyone do anything like that before?
--
You received this message because you are subscribed to the Google
Hello,
I'm really puzzled.
I tried Set and Add. Request.Url.Query() is empty
Do I have to build the uri first before and then passing it to
http.NewRequest?
func HybridFlow() {
response_type := "code id_token"
scope := "openid profile email"
nonce := uniuri.New()
state :=
Humm.. I wrote a reply but it seems it only reached Justin and not this
group.
Also I have not received other replies via email.
Ok...
Ayan, no that's alright it was storage.UserModelInterface
and I know what you're all saying but I saw no other way to make them type
agnostic and I'm a fan of
I'm stuck and I hoped it wouldn't come to that.
I wanted to have interfaces for various databases aka "I wanted to support
multiple databases" (not debatable).
The idea was have ModelInterface (UserModelInterface,
CategoryModelInterface etc) which would wrap the model with getters setters
We have a site with many mp3 files.
And every now and then someone would have the smart idea to download our
files and put them on Youtube for monetization purposes.
I'd like to stop that.
I read a bit about "Encrypted Media Extensions" aka browser drm.
But I'm not sure how that is done on the
17 matches
Mail list logo