Skip to content

Instantly share code, notes, and snippets.

View arslan-gg's full-sized avatar

Arslan R. arslan-gg

  • Fintech
  • Montenegro
View GitHub Profile
@fubarhouse
fubarhouse / loop_files_folders_recursively.go
Last active January 2, 2023 10:31 — forked from francoishill/loop_files_folders_recursively.go
Loop through files and folders recursively in golang
package main
import (
"fmt"
"os"
"path/filepath"
)
func run() ([]string, error) {
searchDir := "c:/path/to/dir"
@arslan-gg
arslan-gg / app_name.service
Last active September 2, 2021 10:17
systemd service script
# service configuration example
[Unit]
Description=AppName
Requires=network.target
[Service]
Type=simple
User=your_user_name
Group=your_user_group