Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/tudorhulban/golayouter

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/tudorhulban/golayouter

  • v0.0.0-20221203142343-cd20e80dc6e9
  • Source
  • Go
  • Socket score

Version published
Created
Source

Go Layout Creator

Application creates go app layout folders and files as per the specified file.
The operations in the input file are as below.

Change Directory

Prefix the target folder with an exclamation mark.

! path

File creation

Create files for specific package:

# package <package name>

Example :

subfolder1
 # package main
 file1.go file2.go
    file3.go
 file4.go
subfolder2

The app will create all for specified files as part of the secified Go package.

Create test files

Example :

subfolder1
 # package main
 file1.go file2.go
    file3.go
 # t
 file4.go
subfolder2

would create for file4.go also the test file for it as file4_test.go.

Line indendation

Line indentation creates subfolder as per indentation and as per below example:

folder1
 subfolder1
 subfolder2
  subsubfolder2
 subfolder3
folder2

folder1 will be created with subfolder1 and subfolder2.
subfolder2 will be parent of subsubfolder1.
folder2 will be created in same folder as folder1.

FAQs

Package last updated on 03 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc