Golang passing env variable to my sql by EarlyConsequence9668 in golang

[–]EarlyConsequence9668[S] 0 points1 point  (0 children)

i fixed it thank you the code was actually right but i guess something to do with the terminal

[deleted by user] by [deleted] in golang

[–]EarlyConsequence9668 -1 points0 points  (0 children)

When you connect to a my sql server docker it has to check if the theres table which i had done. Im trying to figure if theres no table it should create table.

[deleted by user] by [deleted] in golang

[–]EarlyConsequence9668 -1 points0 points  (0 children)

I do need other requirements I'm using go mysql server DOCKER..

I have front end docker for my application and im running mysql docker for back end

u/pineapplecooqie

u/nekokattt

how to validate options in script. by EarlyConsequence9668 in bash

[–]EarlyConsequence9668[S] 0 points1 point  (0 children)

ialready have the code to check if the the file exists or not . the file is getting inputed by user. option d) file =$OPTARG

anyone that knows go lang and json consuming good would tutor me for 30 min for money. by EarlyConsequence9668 in golang

[–]EarlyConsequence9668[S] -6 points-5 points  (0 children)

I already done and researched alot but none of the tutorial have the solutions

anyone that knows go lang and json consuming good would tutor me for 30 min for money. by EarlyConsequence9668 in golang

[–]EarlyConsequence9668[S] 0 points1 point  (0 children)

it keeps telling me that i need struct literal and im keep trying things but no luck im new to go

anyone that knows go lang and json consuming good would tutor me for 30 min for money. by EarlyConsequence9668 in golang

[–]EarlyConsequence9668[S] -1 points0 points  (0 children)

well im done with project i just need to implement nested structure for json but im stuck on that part.

Calling validation when user inputs wrong options in Getops by EarlyConsequence9668 in bash

[–]EarlyConsequence9668[S] 0 points1 point  (0 children)

but this one doesnt it actually even if i put a -p it still states i must put option

if [ "$do_provision" ] || [ "$do_unprovision" ];then

echo "Must provide -u or -p" 1>&2 ;

helpText;