This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MaterialApp( | |
home: MyApp(), | |
)); | |
} | |
class MyApp extends StatefulWidget { | |
@override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.16-buster AS base | |
RUN apt-get update | |
RUN apt-get install software-properties-common git build-essential curl unzip nano -y | |
# Install global CLI tools | |
RUN go install -v golang.org/x/tools/[email protected] | |
RUN go install -v github.com/go-delve/delve/cmd/[email protected] | |
RUN go install -v github.com/ramya-rao-a/[email protected] | |
RUN go install -v github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package asyncutils | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"runtime/debug" | |
) | |
// A Future is a task which starts but doesn't block the current thread since it's run in a goroutine. |
OlderNewer