GithubHelp home page GithubHelp logo

aws-router's People

Contributors

rogerscuall avatar

Stargazers

 avatar

Watchers

 avatar  avatar

aws-router's Issues

GOOS and GOARCH for Mac with Apple Sillicon

GOOS and GOARCH for Mac with Apple Sillicon

Context:

With the introduction of Apple Silicon (a.k.a. the M1 chip), on go version 1.16 or later:

  • darwin/amd64 means macOS with Intel CPU
  • darwin/arm64 updates to mean macOS with Apple Silicon CPU

Task:

  • Replace the following code segment:

aws-router/Taskfile.yaml

Lines 13 to 21 in 05633e7

build:
cmds:
- GOOS=darwin go build -o awsrouters *.go
buildwindows:
cmds:
- GOOS=windows GOARCH=amd64 go build -o awsrouters.exe *.go
buildlinux:
cmds:
- GOOS=linux GOARCH=amd64 go build -o awsrouters-linux

with:

 build: 
   cmds: 
     - GOOS=darwin GOARCH=arm64 go build -o awsrouters-m1 *.go 
  buildMacIntel: 
   cmds: 
     - GOOS=darwin GOARCH=amd64 go build -o awsrouters-intel *.go
 buildWindows: 
   cmds: 
     - GOOS=windows GOARCH=amd64 go build -o awsrouters.exe *.go 
 buildLinux: 
   cmds: 
     - GOOS=linux GOARCH=amd64 go build -o awsrouters-linux

Acceptance criterial:

Allow build for the follow 4 OS/Arch convention:

  • MacOS ARM64 (Apple Sillicon)
  • MacOS AMD64
  • Windows AMD64
  • Linux AMD64

cc: @rogerscuall, @lsotodev

Create an Application struct.

The Application should be the struct to inject dependency.
Although should be more fields, we should have a field to hold the credentials for AWS. It should be an interface.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.