Skip to content

Instantly share code, notes, and snippets.

View NoobforAl's full-sized avatar
🏠
Working from home

NoobForAl NoobforAl

🏠
Working from home
View GitHub Profile
@NoobforAl
NoobforAl / hello.templ
Created October 3, 2023 11:42
Very Simple example templ go PKG
package main
templ hello(names []string) {
<div>
for _, name := range names {
<div>Hello,{ name }</div>
}
</div>
}
@NoobforAl
NoobforAl / LinkedList.go
Last active April 11, 2023 16:49
Linked List ( Only Next Value ) Whit GO.
package main
import (
"fmt"
"github.com/kr/pretty"
)
type Value interface {
int | int64 | int32 | int16 | int8 |
@NoobforAl
NoobforAl / Slice.go
Last active July 5, 2023 15:21
All Slice Method You Need Learn !
package main
import (
"fmt"
"log"
"sort"
)
type Array interface {
// use for sort Package