I have the following code, where the TokenMap struct is actually part of
another package.
idMap is not exported and thus not accessible without reflection.
Through reflection I can easily find the value of "int", which is "28".
Now, I'd like to do the opposite though. I'd like to find "28"'s ind
Any plans for a Vulkan back-end?
--
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.
To view this discussion on the web visi
You mean a slice that is not of type Exam?
test []int
Should work.
Your slice does need to adhere to some type.
--
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
Sorry in advance for the somewhat messy code, but this is something I've
been trying to understand all day and can't quite come up with an
explanation for.
Basically, I wrote the below code to experiment with different data types
and their impact on performance and memory efficiency.
The code i
= "Test \n") and the reader
should pick it up as if it was a manual input.
Unfortunately, that doesn't quite seem to work yet.
On Wednesday, 29 May 2019 19:26:58 UTC+2, Mark Bauermeister wrote:
>
> I'm in the process of writing a text adventure parser.
> By
I'm in the process of writing a text adventure parser.
By default, the parser simply uses Stdin.
i e
for {
fmt.Print(">>> ")
reader := bufio.NewScanner(os.Stdin)
for reader.Scan() {
switch reader.Text() {
...
...
This is quite convenient. However, I now want
, 26 May 2019 15:44:01 UTC+2, Mark Bauermeister wrote:
>
> My use case is a game engine that uses Lua scripts.
> Naturally, Lua scripts can be changed during runtime without rebuilding
> the entire project.
>
> Since go-bindata doesn't actually load the file during runtime bu
My use case is a game engine that uses Lua scripts.
Naturally, Lua scripts can be changed during runtime without rebuilding the
entire project.
Since go-bindata doesn't actually load the file during runtime but merely
precompiles it to a string representation, it doesn't work for dynamic
conten
type Country struct {
ID int`json:"id"`
States string `json:"states"`
}
var Countries []Country
func getAllCountries() {
rows, err := db.Query("select id, states from countries")
if err != nil {
astilog.Error(err)
}
defer rows.Close()
for rows.Next(
t;Cloak of Darkness",
Author: "Roger Firth (implemented by Mark Bauermeister)",
Intro: `Hurrying through the rainswept November night, you're glad
to see the
bright lights of the Opera House.
It's surprising that there aren't mor
ation/nil pointer error.
> I suspect one needs to somehow get the right context from the Java side.
> Question is how.
>
> I already tried an OnCreate override func, but that one is somehow never
> called.
>
> On Wednesday, 24 April 2019 15:08:02 UTC+2, ma...@eliasnaur.com w
is how.
I already tried an OnCreate override func, but that one is somehow never
called.
On Wednesday, 24 April 2019 15:08:02 UTC+2, ma...@eliasnaur.com wrote:
>
>
>
> On Wednesday, April 24, 2019 at 2:34:34 PM UTC+2, Mark Bauermeister wrote:
>>
>> I'm currently exper
I'm currently experimenting with Gomobile Reverse Bindings (my hope is to
eventually be able to call getFilesDir(), so I can save my SQLite3 DB on
mobile) and it is, quite literally, driving me insane.
I've followed the sparse information available, was able to successfully
work with 'import "Ja
13 matches
Mail list logo