Backend and Security Engineer
task4233 / dl Goto Github PK
View Code? Open in Web Editor NEWThe logger not committed to Git for debug
License: MIT License
The logger not committed to Git for debug
License: MIT License
Backend and Security Engineer
Add readme
also adding comments for godoc
The current config of GitHub actions is not configured for the git tag.
ref: https://budougumi0617.github.io/2020/10/07/auto_release_by_goreleaser/
comments on the codes will be deleted
N/A
The current output is just to show the result.
But, the engineer wants to know where the log is: which line? which file?.
Thus, it is better for engineers to know like below.
// main.go
package main
func SayHi[T any] (name T) {
dl.Info(name)
dl.TypeInfo(T)
fmt.Println("Hi, ", name)
}
func main() {
SayHi("Gopher")
SayHi(57)
}
// Output:
// Info => name: Gopher (main.go:L15)
// TypeInfo => T: string / any
// Hi, Gopher
// Info => name: 57 (int / any) (main.go:L15)
// TypeInfo => T: string / any
// Hi, 57
Sweeping can be done with parallel (cli.go#L47)
same as the title
$ dl init
$ dl init
$ cat .git/hooks/pre-commit
#!/bin/sh
dl clean .
git add .
#!/bin/sh
dl clean .
git add .
current implementation can't use variable-length argument.
It's better to be able to use.
n/a
Developers don't want to commit the log code, but just leave these codes.
Thus, remove logging codes only while committing, and restore these logs after that.
N/A
GoDoc provides public structs and functions.
But, some of them are not efficient.
Thus, make them privates.
It will be better to adapt logr.Logger interface.
If so, the other package(repository) is needed.
append information into .git/hooks/pre-commit
N/A
The current function provides only a type that is determined on running.
Information of type inferation might also be wanted by users.
N/A
The detail is // TODO(#4)
in cli.go
The current command doesn't provide its information.
Thus, Usage command is needed for user.
N/A
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.