-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Trying out oto I ran into a few different issues getting generate to work on the example code. I'm leaving these notes here in case anyone else happens to find this.
I'm am on Windows 10 trying to get the code to run in docker using the golang:1.23.6-bookworm image (linux)
- Had to change the first line of generate.sh to find bash.
#!/bin/bash
- Had to make sure generate.sh had permissions
chmod +x ./generate.sh
- Had to convert all the CRLF line endings to LF line endings in generate.sh. This is probably because I checked out the repo on windows then copied it over for use by docker. The message in terminal when I tried to generate was ambiguous saying "cannot execute: required file not found"
The following should then work.
./generate.sh
or
go generate
Metadata
Metadata
Assignees
Labels
No labels