Code Monkey home page Code Monkey logo

sonyarianto / imaginative-go Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 4.0 2.98 MB

Status: Work in Progress - A beautiful open source website that created with Go. It contains many Go working samples code that useful for web and non-web application. It mainly demonstrate what Go can achieve. You can contribute!

License: MIT License

JavaScript 17.51% HTML 34.46% Go 44.47% Dockerfile 3.56%
golang go web-app learning-by-doing learning-golang code-samples docker go-by-example easy-to-use docker-compose

imaginative-go's Introduction

GitHub Sponsors BLJ ada yang tanya

Overview

Member of Technical Staff.

Keep learning, stay relevant, relevancy increases value. Comfortable with being uncomfortable.

Open Source

Some open source initiative from me.

Name Type Notes Install
doitsu php GitHub last commit Read README
jogja npm npm npm i -g jogja
sshmgr npm npm npm i -g sshmgr
dauh npm npm npm i -g dauh
sikat npm npm npm i -g sikat

Educational Material

Good for inspiration and ready to extend to fit your needs.

Title Type Topic
BLJ YouTube In English, various topics, mostly in simple things
ada yang tanya YouTube In Bahasa Indonesia, various topics, mostly in simple things
Title Topic
React without Build Steps JavaScript, React
GraphQL with Node.js and GraphQL Yoga JavaScript, GraphQL
Dockerizing Pocketbase Pocketbase
Porting Windmill Dashboard HTML into SvelteKit Project JavaScript, SvelteKit
Simple CLI in Go to Get List of Installed App Version Go
Mini PHP Framework with Symfony Routing and Blade Template PHP, Symfony, Blade
Using Blade Template without Laravel in PHP PHP, Blade
Using Redux without Build Steps Redux, JavaScript, React
Using Redux with SvelteKit Redux, JavaScript, SvelteKit
Using Redux with Svelte Redux, JavaScript, Svelte
Redux with Svelte is Very Simple than React (on Svelte REPL) Redux, JavaScript, Svelte
Docker for MySQL, Adminer and phpMyAdmin Docker, MySQL, phpMyAdmin
Simple GitHub Actions Demo (on push display file content on README.md) GitHub Actions
Sample of MS Fluent UI 2 Web Components (on Svelte REPL) Web Components, JavaScript
Mix match MS Fluent UI 2 Web Components with Tailwind CSS without Conflict Web Components, Tailwind CSS
Svelte: Fluent UI 2 TreeView Web Components Sample with Dynamic Data (single root) Web Components, Svelte
Svelte: Panel with Draggable Separator Svelte, Layout
Vanilla: Panel with Draggable Separator HTML, Layout, JavaScript
Vanilla: Panel with Draggable Separator (using requestAnimationFrame) HTML, Layout, JavaScript
Svelte: Navigate between Component Svelte
Simple intro and outro Sample in @clack/prompts CLI, Node.js
How to Get Node.js Version Node.js
Alpine.js: Using Store and Reactivity (using ESM module import) Alpine.js
Integrate Monaco Editor in SvelteKit SvelteKit, Monaco Editor
Monaco Editor using CDN, Simple and Fast Monaco Editor, CDN
jQuery with Redux for State Management and Reactivity jQuery, Redux
Monaco Editor on Svelte REPL using CDN (dynamic load) Monaco Editor, Svelte, CDN
Tooltip using Floating UI and Svelte Floating UI, Svelte
Popover using Floating UI and Svelte Floating UI, Svelte
Assign and Re-assign Component for <svelte:component /> in Svelte Svelte
Using Svelte Store is Insanely Easy Svelte
Destroy and Re-mount component programmatically in Svelte Svelte
How to fill schedule range on existing array of objects JavaScript
Playwright with External Chrome (Chrome for Testing) Playwright, JavaScript
Derived Store in Svelte Now Very Easy Svelte
Props Passing with Steroids using setContext and getContext Svelte
Class Binding in Svelte Svelte
Sample of Dynamic Load of JavaScript External Script JavaScript
Demo of Split Pane in Svelte Svelte
Demo of Fuzzy Search with fuse.js JavaScript
Declarative await in Svelte Svelte
Sign-in with Google using One Tap API JavaScript
Passing a Component via Props Svelte
Hello World in Several Language via Docker Docker
Compress and Uncompress Data in JS using pako JavaScript
Sample Usage of feather-icons in Svelte Svelte, JavaScript
How to Handle Long Text with Ellipsis when Already Two Lines CSS
Implicit Promise Sample when Using Async on a Function JavaScript
Demo of canvas-confetti Package JavaScript
Demo of Passing Props to a Component as an Object Svelte, JavaScript
Demo of Simple Marquee CSS
Demo of Simple Apps Selector CSS
Demo of Simple Marquee (images) CSS
Demo of (.) Notation on Component Svelte
Demo of Leaflet with OSM Svelte
Demo of svelte-intersection-observer Svelte
Some Rust examples called berkarat Rust
API template with Rust Rust
Quick sample of PHP on Vercel PHP
Learn SvelteKit Code that Runs First SvelteKit
How to Get Zeno.FM stream metadata using SSE API Svelte

Stats

Support me to develop more open source software or educational material through:

--
Best regards,
Sony AK
[email protected]

imaginative-go's People

Contributors

dauhpublic avatar prasetyama avatar sonyarianto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

imaginative-go's Issues

go.mod file not found in current directory or any parent directory

Hi, I am following How to run this web on your local machine. However I got error go.mod file not found in current directory or any parent directory.

Here's the full log.

hidayat@ubuntu sementara/golang » git clone https://github.com/sonyarianto/imaginative-go.git
Cloning into 'imaginative-go'...
remote: Enumerating objects: 1567, done.
remote: Total 1567 (delta 0), reused 0 (delta 0), pack-reused 1567
Receiving objects: 100% (1567/1567), 2.97 MiB | 510.00 KiB/s, done.
Resolving deltas: 100% (799/799), done.
hidayat@ubuntu sementara/golang » cd imaginative-go 
hidayat@ubuntu golang/imaginative-go (master) » sudo docker-compose up -d
[sudo] password for hidayat: 
Creating network "imaginative-go_network-imaginative-go" with the default driver
Creating volume "imaginative-go_volume-mongodb-imaginative-go" with default driver
Building mongodb
Sending build context to Docker daemon  6.656kB
Step 1/3 : FROM mongo:latest
latest: Pulling from library/mongo
d7bfe07ed847: Pull complete 
97ef66a8492a: Pull complete 
20cec14c8f9e: Pull complete 
38c3018eb09a: Pull complete 
ccc9e1c2556b: Pull complete 
593c62d03532: Pull complete 
1a103a446c3f: Pull complete 
be887b845d3f: Pull complete 
e5543880b183: Pull complete 
Digest: sha256:37e84d3dd30cdfb5472ec42b8a6b4dc6ca7cacd91ebcfa0410a54528bbc5fa6d
Status: Downloaded newer image for mongo:latest
 ---> c8b57c4bf7e3
Step 2/3 : COPY ./0_samples_list.js /docker-entrypoint-initdb.d/
 ---> 73e733ffcc1c
Step 3/3 : COPY ./1_content_category.js /docker-entrypoint-initdb.d/
 ---> a55995153c81
Successfully built a55995153c81
Successfully tagged imaginative-go_mongodb:latest
WARNING: Image for service mongodb was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Building go
Sending build context to Docker daemon  2.048kB
Step 1/10 : FROM golang:latest
latest: Pulling from library/golang
1339eaac5b67: Pull complete 
4c78fa1b9799: Pull complete 
14f0d2bd5243: Pull complete 
76e5964a957d: Pull complete 
0f00f9da9be9: Pull complete 
691e33f10d2f: Pull complete 
faf2829ac353: Pull complete 
Digest: sha256:a452d6273ad03a47c2f29b898d6bb57630e77baf839651ef77d03e4e049c5bf3
Status: Downloaded newer image for golang:latest
 ---> 46ae95f04a69
Step 2/10 : RUN go get -u -v github.com/go-sql-driver/mysql
 ---> Running in c4fa51e36aac
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.
The command '/bin/sh -c go get -u -v github.com/go-sql-driver/mysql' returned a non-zero code: 1
ERROR: Service 'go' failed to build : Build failed
hidayat@ubuntu golang/imaginative-go (master) »

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.