-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slog type error on v0.6.5 #2004
Comments
c.f. #1213 (comment) For example,
https://api.d2lang.com/render/svg?layout=dagre&theme=7&sketch=1&script=qlDQtVOo5AIEAAD__w%3D%3D |
Wow, weird that is so hidden would've saved me a lot of trouble thanks I am still wondering how to fix the golang issue, just for my own sanity |
i do not understand the golang issue. here is my use case. i can draw directly from 'D2 Playgraund' by the following bookmarklet. javascript:(function(){var url = location.href; var redirect_url = url.replace("https://play.d2lang.com/?", "https://api.d2lang.com/render/svg?"); window.open(redirect_url,'_blank'); })() |
@Watt3r indeed, this is a known thing. Slog made some backwards incompatible changes that we don't agree with, so we version locked to our current. I have this line to projects that import d2
see https://go.dev/ref/mod#go-mod-file-replace for more |
I'm upgrading a package I'm using from v0.4.1 -> v0.6.5.
I'm struggling a bit with slog. Has anyone seen this issue before? What's the fix?
My code is https://github.com/Watt3r/d2-live
When I run
go run
, I get this error:Any help would be appreciated.
The text was updated successfully, but these errors were encountered: